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
9 lines
349 B
Plaintext
9 lines
349 B
Plaintext
#title setJointMaxMotorForce [RCBasic Doc]
|
||
#header sub setJointMaxMotorForce( joint_id, force)
|
||
|
||
Limits the maximum linear force that the motor can apply to achieve the target speed set by SetMotorSpeed. This allows you to control the power or strength of the motor along the joint’s axis.
|
||
|
||
Used with Prismatic Joints
|
||
|
||
#ref GetJointMaxMotorForce
|