Stop 2D character speeding up when rotation


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.



rotation speed is called angular velocity.
If you use rigidbody2D check this reference:

what you should do, is to add torque to the character only when its angular velocity is smaller then…