ConeJoint:setLimit

Edit

Returns 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

NameTypeDescription
limitnumber The new limit in radians, between 0 and pi.

Returns

Nothing

Notes

The default limit is zero, preventing any rotation away from the axis.

See also