B2.Joint:getBodyA: 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 first body attached to this joint.<br />
Returns the first body attached to this joint.<br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
(b2.Body) = b2.Joint:getBodyA()
(b2.Body) = b2.Joint:getBodyA()
</source>
</source>
=== Return values ===
=== Return values ===
'''Returns''' (b2.Body) The first body attached to this joint<br/>
'''Returns''' (b2.Body) <translate>The first body attached to this joint</translate><br/>

Revision as of 12:34, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the first body attached to this joint.

(b2.Body) = b2.Joint:getBodyA()

Return values

Returns (b2.Body) The first body attached to this joint