Difference between revisions of "B2.Manifold"
From GiderosMobile
Line 2: | Line 2: | ||
<languages /> | <languages /> | ||
<!-- GIDEROSOBJ:b2.Manifold --> | <!-- 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/> |
− | === | + | |
− | + | === Description === | |
− | === | + | Holds the local information about contact between 2 bodies. |
− | '''Example content of b2.Manifold''' | + | |
− | <source lang="lua">[localNormal] => Table { | + | === Examples === |
+ | '''Example content of b2.Manifold''' | ||
+ | <source lang="lua"> | ||
+ | [localNormal] => Table { | ||
{ | { | ||
[y] => -1 | [y] => -1 | ||
Line 30: | Line 33: | ||
[y] => 320.00000953674 | [y] => 320.00000953674 | ||
[x] => 480 | [x] => 480 | ||
− | }</source> | + | } |
+ | </source> | ||
+ | |||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === | + | === Methods === |
+ | |||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === | + | === Events === |
− | === | + | === Constants === |
[[Special:MyLanguage/localNormal|localNormal]]<br/><!-- GIDEROSCST:localNormal table--> | [[Special:MyLanguage/localNormal|localNormal]]<br/><!-- GIDEROSCST:localNormal table--> | ||
[[Special:MyLanguage/localPoint|localPoint]]<br/><!-- GIDEROSCST:localPoint table--> | [[Special:MyLanguage/localPoint|localPoint]]<br/><!-- GIDEROSCST:localPoint table--> | ||
[[Special:MyLanguage/points|points]]<br/><!-- GIDEROSCST:points table--> | [[Special:MyLanguage/points|points]]<br/><!-- GIDEROSCST:points table--> | ||
|} | |} | ||
+ | |||
+ | ---- | ||
+ | *'''[[LiquidFun]]''' |
Revision as of 13:13, 17 February 2020
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 |
EventsConstants |