DistanceJoint:getDistance
EditReturns the target distance for the DistanceJoint. The joint tries to keep the Colliders this far apart.
distance = DistanceJoint:getDistance()
Arguments
None
Returns
Name | Type | Description |
distance | number | The target distance. |
See also
DistanceJoint:setDistance
DistanceJoint