Difference between revisions of "B2.Manifold"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<!-- GIDEROSOBJ:b2.Manifold -->
 
'''<translate>Supported platforms</translate>:''' <br/>
 
'''<translate>Supported platforms</translate>:''' <br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.09.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.09.6<br/>
Line 35: Line 36:
 
=== <translate>Events</translate> ===
 
=== <translate>Events</translate> ===
 
=== <translate>Constants</translate> ===
 
=== <translate>Constants</translate> ===
[[Special:MyLanguage/localNormal|localNormal]]<br/>
+
[[Special:MyLanguage/localNormal|localNormal]]<br/><!-- GIDEROSCST:localNormal -->
[[Special:MyLanguage/localPoint|localPoint]]<br/>
+
[[Special:MyLanguage/localPoint|localPoint]]<br/><!-- GIDEROSCST:localPoint -->
[[Special:MyLanguage/points|points]]<br/>
+
[[Special:MyLanguage/points|points]]<br/><!-- GIDEROSCST:points -->
 
|}
 
|}

Revision as of 14:56, 31 August 2018

Supported platforms:
Available since: Gideros 2012.09.6

Description

Holds the local information about contact between 2 bodies

Examples

Example content of b2.Manifold

[localNormal] => Table {
             {
               [y] => -1
               [x] => -0
             }
[points] => Table {
             {
               [1] => Table {
                  {
                    [normalImpulse] => 0
                    [localPoint] => Table {
                                {
                                  [y] => 0
                                  [x] => 0
                                }
                    [tangentImpulse] => 0
                  }
             }
[localPoint] => Table {
             {
               [y] => 320.00000953674
               [x] => 480
             }

Methods

Events

Constants

localNormal
localPoint
points