Hey everyone I have this game that i am making in android and I have a touch screen joystick that moves the player around based on the joysticks position. I cant figure out how to also get the player ...
I'm making a simple top-down tank game on the ipad where the user controls the movement of the tank with the left "joystick" and the rotation of the turret with the right one. I've spent several hours ...
I'm creating a simple tank game. No matter what I do, the turret keeps facing the target with it's side. I just can't figure out how to turn it 90 degrees in Y once so it faces it correctly. I've ...
Possible Duplicate: How do I find rotation in 3D based on a vector/normal? My models are axis-aligned. I know the normal of the surface I want to draw them on. How do I compute the ...
Can't figure get the conversion from cartesian to spherical(“polar”) correctly for my orbiting camera
The two angles from the polar coordinate system are defined as hRotation and vRotation This is how they are converted from polar to cartesian: // Get the distance between the object and the ...
I currently try to rotate a camera (using gluLookAt()) around a point , i successfully do it for rotating around one global axis. But when i want to use more than one axis , I'm stuck . I've ...
I'm working on a game that uses sprite sheets with rotation for animations. While the effect is pretty good, the quality of the rotations is somewhat lacking. I exported a flash animation to png ...