Difference between revisions of "B2.Joint:getAnchorB"

From GiderosMobile
Line 8: Line 8:
 
(number), (number) = b2.Joint:getAnchorB()
 
(number), (number) = b2.Joint:getAnchorB()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) x coordinate of the anchor point<br/>
 
'''Returns''' (number) x coordinate of the anchor point<br/>
 
'''Returns''' (number) y coordinate of the anchor point<br/>
 
'''Returns''' (number) y coordinate of the anchor point<br/>

Revision as of 10:38, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the anchor point on bodyB in world coordinates.

(number), (number) = b2.Joint:getAnchorB()

Return values

Returns (number) x coordinate of the anchor point
Returns (number) y coordinate of the anchor point