B2.Fixture:getBody: Difference between revisions

From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight"
m Text replacement - "</source" to "</syntaxhighlight"
 
Line 7: Line 7:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
(b2.Body) = b2.Fixture:getBody()
(b2.Body) = b2.Fixture:getBody()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Latest revision as of 16:22, 12 July 2023

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




LiquidFun