Difference between revisions of "B2.Contact:getManifold"

From GiderosMobile
Line 3: Line 3:
 
=== Description ===
 
=== Description ===
 
<translate><br />
 
<translate><br />
Returns the contact manifold as a table. This table contains [[points`, `localNormal`, `localPoint` and `type]] fields.<br />
+
Returns the contact manifold as a table. This table contains [[points]], [[localNormal]], [[localPoint]] and [[type]] fields.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">

Revision as of 15:00, 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()

Return values

Returns (b2.Manifold) the manifold of contact