HingeJoint:setUpperLimit

Sets the upper limit of the hinge angle. This should be less than π.

HingeJoint:setUpperLimit(limit)

Arguments

NameTypeDescription
limitnumberThe upper limit.

Returns

Nothing

See also