SliderJoint:getPosition
EditReturns the position of the slider joint. The "zero" position is the relative distance the colliders were at when the joint is created, and positive positions are further apart along the slider's axis.
position = SliderJoint:getPosition()
Arguments
None
Returns
Name | Type | Description |
position | number | The position of the slider joint, in meters. |