SliderJoint:setFriction
EditSets the friction of the SliderJoint. This is a maximum friction force that will be applied, in newtons, opposing movement along the slider axis.
SliderJoint:setFriction(friction)
Arguments
Name | Type | Description |
friction | number | The maximum friction force, in newtons. |
Returns
Nothing
Notes
Friction is only applied when the motor is disabled.