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
11 lines
306 B
Plaintext
11 lines
306 B
Plaintext
#title setJointMaxForce [RCBasic Doc]
|
|
#header sub setJointMaxForce( joint_id, force)
|
|
|
|
Sets an upper limit on the amount of force the joint can apply to the connected bodies, helping to control how much resistance or power the joint provides.
|
|
|
|
Used with
|
|
#list ul
|
|
#li Motor Joint
|
|
#li Friction Joint
|
|
#/list
|