Local Angular Velocity

If I want to set the local angular velocity what is the best way to do that?  I know I can set the angular velocity on a physics object, I can also add a local angular velocity, but I want to specify exactly what the angular velocity should be. How can I do that?



darkfrog

Hmm what do you mean by "I can also add a local angular velocity". There is no "local" velocity in jmephysics as ODE has only world coordinates and velocities. So the only - thus the best :wink: - way is to set the angular velocity of a DynamicPhysicsObject via setAngularVel().