B2APPLYTORQUE

This command will apply torque to the specified body.  Torque will cause the body to rotate - a negative value will rotate counterclockwise, a positive one will rotate clockwise.  The BodyID should be the body's integer handle.

 

Syntax

b2ApplyTorque BodyID as Integer, Torque as Float

Related Information

BOX2D Commands Menu
Index