# Turn a spaceship at a max rate

Using the following to turn a spaceship in a C# FarseerPhysics simulation.

 var turnPower = _Inventory.EngineTurnPower * time;
body.ApplyTorque(turnPower);


If the user keeps holding in the turn key the ship will go into a superspeed turn och chaos were it eventually is impossible to tell which direction it is facing.

What would be some good way of limiting the turn speed that the user can cause, without limiting the simulation itself.

• One idea I have to accomplish this is to get the delta rotation, and if it is greater than the max allowed and the user is trying to turn in that direction then i simply don't. But maybe theres a better physics way of doing it? Sep 17 '17 at 19:24