HingeJoint:getLimits

Returns the upper and lower limits of the hinge angle. These will be between -π and π.

lower, upper = HingeJoint:getLimits()

Arguments

None

Returns

NameTypeDescription
lowernumber The lower limit, in radians.
uppernumber The upper limit, in radians.

See also