ConeJoint:setLimit
EditReturns the angle limit of the ConeJoint. The relative angle between the ConeJoint's axis and the second Collider will be constrained to this limit.
ConeJoint:setLimit(limit)
Arguments
Name | Type | Description |
limit | number | The new limit in radians, between 0 and pi. |
Returns
Nothing
Notes
The default limit is zero, preventing any rotation away from the axis.