- Home /
rigidbody has a max rotation velocity ?
I'm making a simple football game And I'd like to set the ball rotation when shooting to a high value. I've tried Many solution adding a constant torque, setting manually angular velocity. but anyway there seems to be a max angular velocity value. around 10 degree/second for my case....
I'm also tried to change inertiaTensorRotation and inertiaTensor without success.... set rotation speed remains limited to 10 degre per second.
Answer by Eric5h5 · Dec 20, 2010 at 08:36 PM
Change the max angular velocity in the physics settings.
so simple.... I didn't saw this simple option.... sorry :)
Yes, it can be overridden per-object with rigidbody.maxAngularVelocity
http://docs.unity3d.com/Documentation/ScriptReference/Rigidbody-maxAngularVelocity.html
Also! Don't forget to change the max angular velocity while the game is NOT playing. You won't see any change to the angular velocity until AFTER you restart playing the scene.
Just spent forever figuring out why the max velocity wasn't changing and it's because the setting doesn't update the game on the fly