B2.Fixture:getBody: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
=== <translate>Description</translate> ===
<translate><br />
<translate><br />
Returns the parent body of this fixture. This is [[Special:MyLanguage/nil|nil]] if the fixture is not attached.<br />
Returns the parent body of this fixture. This is [[Special:MyLanguage/nil|nil]] if the fixture is not attached.<br />
Line 8: Line 8:
(b2.Body) = b2.Fixture:getBody()
(b2.Body) = b2.Fixture:getBody()
</source>
</source>
=== Return values ===
=== <translate>Return values</translate> ===
'''Returns''' (b2.Body) <translate>body that created the fixture</translate><br/>
'''<translate>Returns</translate>''' (b2.Body) <translate>body that created the fixture</translate><br/>

Revision as of 06:28, 24 August 2018

Available since: Gideros 2011.6

Description


Returns the parent body of this fixture. This is nil if the fixture is not attached.

(b2.Body) = b2.Fixture:getBody()

Return values

Returns (b2.Body) body that created the fixture