ConeJoint:getLimit

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.

limit = ConeJoint:getLimit()

Arguments

None

Returns

NameTypeDescription
limitnumber The angle limit, in radians.

Notes

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

See also