object:getGroundAnchorA()

Type Function
Object Joint
Library physics.*
Return value Numbers
Revision 2017.3060
Keywords getGroundAnchorA
See also object:getGroundAnchorB()
Physics Joints (guide)

Overview

Returns the x and y coordinates of a "pulley" joint's first ground anchor in content coordinates.

Syntax

joint:getGroundAnchorA()

Example

local agx, agy = myJoint:getGroundAnchorA()