Type Function Object Joint Library physics.* Return value Numbers Revision Current Public Release (2018.3326) Keywords joint, getAnchorA See also object:getAnchorB() Physics Joints (guide)
Returns the x and y coordinates of the joint's anchor point within object
B are the two joined bodies. Values are in content space.
local ax, ay = myJoint:getAnchorA()