B2.Joint:getAnchorB: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<br />
<translate><br />
Returns the anchor point on bodyB in world coordinates.<br />
Returns the anchor point on bodyB in world coordinates.<br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
(number), (number) = b2.Joint:getAnchorB()
(number), (number) = b2.Joint:getAnchorB()
</source>
</source>
=== Return values ===
=== Return values ===
'''Returns''' (number) x coordinate of the anchor point<br/>
'''Returns''' (number) <translate>x coordinate of the anchor point</translate><br/>
'''Returns''' (number) y coordinate of the anchor point<br/>
'''Returns''' (number) <translate>y coordinate of the anchor point</translate><br/>

Revision as of 12:32, 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