Hello, I have a rigidbody2D, and it's got some velocity vector. How can I rotate this vector around axis passing through it's z coordinate (which is 0) . Is there already a function for such thing? Thanks in advance.
AddTorque? is that what you want? Code (csharp): YOURgameObject.rigidbody2D.AddTorque(-YOURrotationSpeed * Time.deltaTime);