W3cubDocs

/LÖVE

PulleyJoint:getGroundAnchors

Get the ground anchor positions in world coordinates.

Function

Synopsis

a1x, a1y, a2x, a2y = PulleyJoint:getGroundAnchors( )

Arguments

None.

Returns

number a1x
The x coordinate of the first anchor.
number a1y
The y coordinate of the first anchor.
number a2x
The x coordinate of the second anchor.
number a2y
The y coordinate of the second anchor.

See Also


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