B2.Contact:getWorldManifold: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09.6<br/> === Description === <br /> Returns the world manifold as a table. This table contains `normal` and `points` fields.<br..."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
(b2.WorldManifold), = b2.Contact:getWorldManifold()
(b2.WorldManifold) = b2.Contact:getWorldManifold()
</source>
</source>
'''Returns''' (b2.WorldManifold) Information about contact between 2 bodies relative to the world<br/>
'''Returns''' (b2.WorldManifold) Information about contact between 2 bodies relative to the world<br/>

Revision as of 09:20, 23 August 2018

Available since: Gideros 2012.09.6

Description


Returns the world manifold as a table. This table contains `normal` and `points` fields.

(b2.WorldManifold) = b2.Contact:getWorldManifold()

Returns (b2.WorldManifold) Information about contact between 2 bodies relative to the world