B2.Contact:getManifold: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09.6<br/> === Description === <br /> Returns the contact manifold as a table. This table contains `points`, `localNormal`, `local..."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
(b2.Manifold), = b2.Contact:getManifold()
(b2.Manifold) = b2.Contact:getManifold()
</source>
</source>
'''Returns''' (b2.Manifold) the manifold of contact<br/>
'''Returns''' (b2.Manifold) the manifold of contact<br/>

Revision as of 09:16, 23 August 2018

Available since: Gideros 2012.09.6

Description


Returns the contact manifold as a table. This table contains `points`, `localNormal`, `localPoint` and `type` fields.

(b2.Manifold) = b2.Contact:getManifold()

Returns (b2.Manifold) the manifold of contact