B2.Joint:getBodyB: Difference between revisions

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

Revision as of 09:21, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the second body attached to this joint.

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

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