HingeJoint:setFriction

Edit

Sets the friction of the HingeJoint. This is a maximum torque force that will be applied, in newton meters.

HingeJoint:setFriction(friction)

Arguments

NameTypeDescription
frictionnumber The friction, in newton meters.

Returns

Nothing

Notes

Friction is only applied when the motor is disabled.

See also