230 reputation
39
bio website
location
age
visits member for 4 years, 4 months
seen 2 days ago

Nov
14
answered Lookrotation of a gameObject in just one axis
Nov
14
awarded  Editor
Nov
14
revised How to randomize the ball direction?
added 12 characters in body
Nov
14
comment How to randomize the ball direction?
You are correct, editing it. Thanks!
Nov
13
awarded  Yearling
Nov
13
answered How to randomize the ball direction?
Nov
12
comment Lookrotation of a gameObject in just one axis
If you take the 3d plane for your cell and the line for that south pole, and find the intersection point, then you could use LookAt for that point. You would also want to handle the case where the plane is parallel to that line.
Oct
31
awarded  Critic
Sep
24
awarded  Autobiographer
Aug
19
answered SFML: Monster following player on a straight line
Jan
27
awarded  Informed
Jan
27
answered Texturing a PyOpenGL 3D Cube with PySDL2
Jan
26
comment Texturing a PyOpenGL 3D Cube with PySDL2
You should use the 'pixels' member of SDL_surface to get the raw data. see wiki.libsdl.org/… . I can't find any reference on .contents that you are using :|
Dec
27
awarded  Citizen Patrol
Nov
12
awarded  Talkative
Nov
10
comment Rotation and translation like in GTA 1 OpenGL
0.5x and 0.5z in the first case, to move forward? After rotation of 45degrees, a translation of (0, 0, 0.5) should give you the same effect. It will cause translation along the rotated z axis.
Nov
10
comment Rotation and translation like in GTA 1 OpenGL
I'm not sure that I understand. Whatever translation vector that you choose, will get applied after the rotation.
Nov
10
comment Rotation and translation like in GTA 1 OpenGL
Since the translation would be "applied" after the rotation, it would be translated on the rotated axis. So, just reversing the order should help. eg, if you forward is +z, then (0, 0, 5), would work correctly after rotation also, i.e., it would move forward w.r.t the object.
Nov
10
comment Rotation and translation like in GTA 1 OpenGL
It would be useful to actually state the problem that you are facing though.
Nov
10
answered Rotation and translation like in GTA 1 OpenGL