Search Unity

turn of the project behind the auxiliary Rigidbody.MoveRotation

Discussion in 'Scripting' started by Trild123787898, Jan 19, 2020.

  1. Trild123787898

    Trild123787898

    Joined:
    Dec 9, 2018
    Posts:
    206
    I use rigidbody.MoveRotation to rotate the object along the X axis by 30 degrees, the problem is that I don’t know how to make it so that when I press the key, the object will turn 30 degrees and freeze when using the rigidbody component?
     
    Last edited: Jan 19, 2020