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
316 B
Plaintext
9 lines
316 B
Plaintext
#title setJointLength [RCBasic Doc]
|
|
#header sub setJointLength( joint_id, jlen)
|
|
|
|
Set the fixed distance between two connected bodies. This distance acts as a "target length" that the joint will try to maintain, applying forces to keep the bodies at that separation.
|
|
|
|
Used with distance Joints
|
|
|
|
#ref GetJointLength
|