shouldEnableLimits
A Boolean value that indicates whether the pin joint’s rotation is limited to a specific range of values.
Declaration
var shouldEnableLimits: Bool { get set }Discussion
The default value is false. If true, the lowerAngleLimit and upperAngleLimit properties are used to limit the angle of the pin joint.