B2.Contact:getManifold: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2012.09.6<br/>
'''<translate>Available since</translate>:''' Gideros 2012.09.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Contact|b2.Contact]]<br/>
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate><br />
<translate><br />
Returns the contact manifold as a table. This table contains [[Special:MyLanguage/points|points]], [[Special:MyLanguage/localNormal|localNormal]], [[Special:MyLanguage/localPoint|localPoint]] and [[Special:MyLanguage/type|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 08:27, 24 August 2018

Available since: Gideros 2012.09.6
Class: b2.Contact

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