Difference between revisions of "B2.Manifold"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2012.09.6<br/> === Description === Holds the local information about contact between 2 bodies{|- | st...")
 
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
<!-- GIDEROSOBJ:b2.Manifold -->
 +
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
 
'''Available since:''' Gideros 2012.09.6<br/>
 
'''Available since:''' Gideros 2012.09.6<br/>
 +
 
=== Description ===
 
=== Description ===
Holds the local information about contact between 2 bodies{|-
+
Holds the local information about contact between 2 bodies.
| style="width: 50%;"|
+
 
 +
=== Examples ===
 +
'''Example content of b2.Manifold'''
 +
<syntaxhighlight lang="lua">
 +
[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
 +
            }
 +
</syntaxhighlight>
 +
 
 +
{|-
 +
| style="width: 50%; vertical-align:top;"|
 
=== Methods ===
 
=== Methods ===
| style="width: 50%;"|
+
 
 +
| style="width: 50%; vertical-align:top;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 +
[[localNormal]]<br/><!--GIDEROSCST:localNormal table-->
 +
[[localPoint]]<br/><!--GIDEROSCST:localPoint table-->
 +
[[points]]<br/><!--GIDEROSCST:points table-->
 
|}
 
|}
 +
 +
----
 +
*'''[[LiquidFun]]'''

Latest revision as of 02:00, 1 December 2023

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
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