B2.Fixture:getBody

From GiderosMobile
Revision as of 09:29, 24 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2011.6
Class: b2.Fixture

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