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