Hi,
I am trying to make a 2D puzzle game and I am making the menu at the moment. I have a character moving with no gravity by adding a force to it and I am making the character rotate by adding torque. The problem I have is that the rotation of the character speeds up to great speed and I don’t want this to happen. If you could help me fix this that would be great.
I was thinking that it could be done by checking the rotation speed but I don’t think that is possible.
Thanks,
Tom
Or you an just limit the angularVelocity: rigidbody2D.angularVelocity = Mathf.Clamp(rigidbody2d.angularVelocity, -maxVal, maxVal);
– robertbuThank you very much
– thomfur