PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

LimitsEnabled

SlidingBallConstraint

bool

Sets whether the SlidingBallConstraint will limit the range of translation. If enabled, the SlidingBallConstraint/CurrentPosition of the SlidingBallConstraint will only be able to be between the values of SlidingBallConstraint/LowerLimit and SlidingBallConstraint/UpperLimit.

Here is a case where the UpperLimit is 2 and the LowerLimit is 1:

Constraint Limits 1

Here is a case where the UpperLimit is 4 and the LowerLimit is 2. Note that in this case the attachments will never be allowed to overlap; they will always be offset:

Constraint Limits 2