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

Returns

Nothing

See also