Rotation with body
-
- Posts: 5
- Joined: Thu May 10, 2007 9:06 pm
Rotation with body
i move the body with applyimpuls, then i need to rotate, what implementation i must use to move the body in direction?
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
You can try to use 'applyTorqueImpulse' for rotation.
Controlling a character motion using a rigidbody is tricky. Many games/applications use their own model to move around a model, just based on collision detection, but without rigidbody dynamics.
A character controller demo is on the long todolist...
Hope this helps,
Erwin
Controlling a character motion using a rigidbody is tricky. Many games/applications use their own model to move around a model, just based on collision detection, but without rigidbody dynamics.
A character controller demo is on the long todolist...
Hope this helps,
Erwin