B2SETJOINTMOTORFORCE

This command will set the force of the specified joint's motor.  The force of a motor does not affect its speed, but rather how much it can lift without being forced back.  The ID should be the integer handle that was returned when the joint was created.

 

Syntax

b2SetJointMotorForce ID as Integer, Force as Float

Related Information

BOX2D Commands Menu
Index