HingeJoint:setLimits
EditSets the angle limits of the HingeJoint. The "zero" angle is determined by the relative position of the colliders at the time the joint was created.
Arguments
| Name | Type | Description | 
| min | number | The minimum angle, in radians. Should be between -π and 0. | 
| max | number | The maximum angle, in radians. Should be between 0 and π. | 
Returns
Nothing
Disable the limits, setting them to -π and π.
Arguments
None
Returns
Nothing
Notes
The default limits are -π and π.