3,586 reputation
1335
bio website
location United Kingdom
age
visits member for 3 years, 8 months
seen Apr 7 at 15:59

Apr
6
awarded  Notable Question
Mar
25
comment How do I make an object's y-axis align with a Vector3?
It's not clear what you're trying to achieve. I don't understand why the camera transform is involved at all if the goal is to show the slope under the ball. Could you refactor?
Feb
1
awarded  Custodian
Feb
1
reviewed Leave Open How to move an object along a vector
Jan
26
answered How can I implement a directional melee attack?
Jan
11
awarded  Popular Question
Aug
4
awarded  Yearling
Jul
2
awarded  Notable Question
Jun
17
awarded  Notable Question
May
16
awarded  Nice Answer
Apr
4
awarded  Notable Question
Apr
1
awarded  Popular Question
Feb
13
comment What's the best way of translating a 2D vector into the closest 8-way compass direction?
Would this actually give the closest direction? It seems a vector of (0.00001,100) would give you north east. edit: you beat me to it izb.
Jan
25
comment OpenGL GL_TRIANGLE_STRIP creating grid with degenerate triangles / for one draw call
Actually, ignore my last comment. That is what you would want to happen if you're making degenerate triangles between the rows, so the problem is elsewhere. I'll take another look later.
Jan
25
comment OpenGL GL_TRIANGLE_STRIP creating grid with degenerate triangles / for one draw call
@PeeS I think there are still some off by one errors. For example rIndices.push_back(r*iCols); is going to have the same index as rIndices.push_back(r*iCols+c); when c is 0.
Jan
25
comment OpenGL GL_TRIANGLE_STRIP creating grid with degenerate triangles / for one draw call
Try changing the rIndices.push_back(iCols); to rIndices.push_back((r + 1) * iCols + iCols)); I was just ignoring the first part of that line so it was easier to work out the last vertex addressed.
Jan
25
answered OpenGL GL_TRIANGLE_STRIP creating grid with degenerate triangles / for one draw call
Jan
22
comment cocos2d-x v2.1 CCSpeed, CCRepeatForever, and CCAnimation jerky at high speed
How are you testing your code? I noticed significant differences testing cocos2dx animations in the iOS simulator versus on a mobile device (mobile device ran them properly) (only applies if you are doing mobile not desktop development).
Jan
15
awarded  Popular Question
Dec
28
comment Should developers make their games easier with new versions?
Massive multiplayer online games - games many players connecting to the same world.