Hi, im working on a new player movement. My player is a ball that moves with physics.


ball_speed.x = ...
ball_speed.y = ...
ball_speed.z = ...

phent_addtorqueglobal(ball, ball_speed)
...


Im controlling the ball with 4 keys. When i hit left or right the player must rotates around the 3rd person camera. The ball follows a circular path (in this moment the camera doesn't move, it rotates to look always at the player). How i can manage this ? I think this movement must come from the phent_addtorqueglobal(ball, ball_speed). And when i hit forward (or backward) the ball should move in the direction where the camera is looking. I can't use c_move here frown. How the code should look like then ? I have seen this movement on many 3rd person games like GTA or Super Mario 64 and i hope you understand what it should look like wink

Last edited by theDust; 07/24/08 16:45.