My character doesn't want to rotate

Hi Zikri,

In Unity, game objects do not do anything by default. Each behaviour needs a component. Is the PlayerController component attached to the Inspector of the Player game object?

If it is attached, copy and paste one of the AddTorque lines outside the if-/else-if-statements in Update(). Then click the “Play” button to see if the player rotates. If he doesn’t, check the value of “Torque Amount” in your component in the Inspector. It must not be 0.


See also: