W3cubDocs

/LÖVE

DistanceJoint:getLength

Gets the equilibrium distance between the two Bodies.

Function

Synopsis

l = DistanceJoint:getLength( )

Arguments

None.

Returns

number l
The length between the two Bodies.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/DistanceJoint:getLength