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
14 lines
363 B
Plaintext
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
|