- Home /
Rolling sphere keep velocity but slow rotation
Hello!
I have a sphere with a marble design, I want the rotation of the marble to be slower than the default Unity gives when the marble is rolling. For example, at a given high speed Unity will (rightfully so) speed the rotation of the marble to a point where the marble design is no longer discernible. In such a case I would like to override the default rotation and provide a slower rotation without changing the velocity of the marble. Any help is appreciated.
Thanks.
Comment
Answer by shabutii · Aug 07, 2020 at 12:51 PM
I think I may be able to achieve this with an animation i.e. freeze the sphere's rotation in the inspector and use an animation to rotate slowly, but I would love to do it in code.