Finished documentation on sprite physics and joints Fixed some bugs in sprite physics Added safety checks for joint types Added code to free up joints when a canvas is destroyed
7 lines
296 B
Plaintext
7 lines
296 B
Plaintext
#title createMotorJoint [RCBasic Doc]
|
|
#header function createMotorJoint( spriteA, spriteB, collide_connect)
|
|
|
|
Creates a Motor Joint
|
|
|
|
A motor joint is used to control the relative motion between two bodies. A typical usage is to control the movement of a dynamic body with respect to the ground.
|