B2.Body:destroyFixture

From GiderosMobile
Revision as of 11:02, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Destroy a fixture. This removes the fixture from the broad-phase and destroys all<br /> contact...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6

Description


Destroy a fixture. This removes the fixture from the broad-phase and destroys all
contacts associated with this fixture. This will automatically adjust the mass of the body if the
body is dynamic and the fixture has positive density. All fixtures attached to a body are implicitly
destroyed when the body is destroyed.

<ul>
<li>*Warning:** This function is locked during callbacks.</li>
</ul>

= b2.Body:destroyFixture(fixture,)

'fixture: (b2.Fixture) the fixture to be removed '