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
356 B
Plaintext
14 lines
356 B
Plaintext
#title setJointMotorSpeed [RCBasic Doc]
|
|
#header sub setJointMotorSpeed( joint_id, speed)
|
|
|
|
Used on joints that support motors, such as revolute joints and prismatic joints, to control the speed at which the motor applies force to achieve movement.
|
|
|
|
Used with
|
|
#list ul
|
|
#li Prismatic Joint
|
|
#li Revolute Joint
|
|
#li Wheel Joint
|
|
#/list
|
|
|
|
#ref GetJointMotorSpeed
|