Type Boolean Object Joint Library physics.* Revision Release 2022.3683 Keywords joint, isLimitEnabled See also object:setRotationLimits() object:setLimits() Physics Joints (guide)
Set this to true
to constrain the limits of rotation for a "pivot"
joint or the limits of motion for a "piston"
joint.
pivotJoint.isLimitEnabled = true pivotJoint:setRotationLimits( -10, 10 )
pistonJoint.isLimitEnabled = true pistonJoint:setLimits( -40, 120 )