Files
RCBASIC4/doc/files/setjointlength.txt
n00b 2a580f9686 Finished documentation
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
2024-10-28 22:22:33 -04:00

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