HingeJoint:setLimits

Edit

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

HingeJoint:setLimits(lower, upper)

Arguments

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

Returns

Nothing

See also