object:getGroundAnchorB()

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

Overview

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

Syntax

joint:getGroundAnchorB()

Example

local bgx, bgy = myJoint:getGroundAnchorB()