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
14 lines
230 B
Plaintext
14 lines
230 B
Plaintext
#title enableJointMotor [RCBasic Doc]
|
|
#header sub enableJointMotor( joint_id, flag)
|
|
|
|
Enables or disables the joint motor
|
|
|
|
Used with
|
|
#list ul
|
|
#li Prismatic Joint
|
|
#li Revolute Joint
|
|
#li Wheel Joint
|
|
#/list
|
|
|
|
#ref JointMotorIsEnabled
|