B2SETJOINTMOTORSPEED

This command will set the speed of the specified joint's motor.  The speed of a motor is different from its force: speed is how fast the motor moves, force is how much power is behind it.  The ID should be the integer handle that was returned when the joint was created.

 

Syntax

b2SetJointMotorSpeed ID as Integer, Speed as Float

Related Information

BOX2D Commands Menu
Index