I want to make a gameobject with a rigidbody able to rotate but not move. I’ve tried things like:
rigidbody.freezeRotation = false;
And
rigidbody.velocity = Vector3.zero;
but I don’t really know how to do it. I guess I need to disable something bu I don’t know what?