I have an node in space (no angular dampening, no friction, no gravity) and I apply a torque to it (20 newton meters) over 1 second. It begins to spin and will continue forever. If I apply an inverse force (-20 newton meters) it comes to a complete stop.
If I don't know how much angular torque was applied initially (for instance it collided with another object), how can I determine what the inverse torque to apply would be in order to bring the object to a stop? I tried angularVelocity*mass, and this is close... but always a little shy (like I'm missing something):
-physicsBody!.angularVelocity*physicsBody!.mass
How can I determine Angular Momentum (torque) to use to remove all object rotation?