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
lowernumberThe lower limit.
uppernumberThe upper limit.

See also