Files
RCBASIC4/doc/files/setjointlimits.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

14 lines
363 B
Plaintext

#title setJointLimits [RCBasic Doc]
#header sub setJointLimits( joint_id, lower_limit, upper_limit)
Sets the minimum and maximum limits, restricting how far or how much rotation the connected bodies can move relative to each other.
Used with
#list ul
#li Prismatic Joint
#li Revolute Joint
#li Wheel Joint
#/list
#ref GetJointLowerLimit GetJointUpperLimit