HingeJoint:getFriction

Edit

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

friction = HingeJoint:getFriction()

Arguments

None

Returns

NameTypeDescription
frictionnumber The friction, in newton meters.

Notes

Friction is only applied when the motor is disabled.

See also