B2.Fixture:getBody: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 3: Line 3:
=== Description ===
=== Description ===
<translate><br />
<translate><br />
Returns the parent body of this fixture. This is [[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 />
<br /></translate>
<br /></translate>
<source lang="lua">
<source lang="lua">

Revision as of 15:35, 23 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