HingeJoint:setLimits

Sets the upper and lower limits of the hinge angle. These should be between -π and π.

HingeJoint:setLimits(lower, upper)

Arguments

NameTypeDescription
lowernumberThe lower limit, in radians.
uppernumberThe upper limit, in radians.

Returns

Nothing

See also