8
8
8_JOHN_82018-12-02 15:56:05
Unity
8_JOHN_8, 2018-12-02 15:56:05

At what speed should the object rotate given its speed of movement?

There is a sphere object with a CharacterController hanging on it, there is also a script where a constant forward movement, left and right turns and a jump are registered for this object. All this works!
Since there is no RigidBody on this object, due to conflicts between the CharacterController, the sphere does not rotate in the direction of movement, so I need a formula to calculate the angle or speed of rotation of the sphere at its constant speed. Please help :((
I used RigidBody before, everything worked there except jumps, they were not realistic, so I switched to CharacterController, but there is a problem here, but I hope for your help, THANK YOU in advance !!!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NaName, 2018-12-02
@NaName

banned on google? https://planetcalc.ru/556/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question