Difference between revisions of "B2.Joint:getBodyA"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the first body attached to this joint.<br /> <br /> <source lang="lua"> (b2.Body), = b2...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(b2.Body), = b2.Joint:getBodyA()
+
(b2.Body) = b2.Joint:getBodyA()
 
</source>
 
</source>
 
'''Returns''' (b2.Body) The first body attached to this joint<br/>
 
'''Returns''' (b2.Body) The first body attached to this joint<br/>

Revision as of 11:21, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the first body attached to this joint.

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

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