Difference between revisions of "B2.Manifold"
From GiderosMobile
Line 2: | Line 2: | ||
'''Supported platforms:''' <br/> | '''Supported platforms:''' <br/> | ||
'''Available since:''' Gideros 2012.09.6<br/> | '''Available since:''' Gideros 2012.09.6<br/> | ||
− | === Description === | + | === <translate>Description</translate> === |
<translate>Holds the local information about contact between 2 bodies</translate> | <translate>Holds the local information about contact between 2 bodies</translate> | ||
− | === Examples === | + | === <translate>Examples</translate> === |
'''Example content of b2.Manifold'''<br/> | '''Example content of b2.Manifold'''<br/> | ||
<source lang="lua">[localNormal] => Table { | <source lang="lua">[localNormal] => Table { | ||
Line 31: | Line 31: | ||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Methods === | + | === <translate>Methods</translate> === |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Events === | + | === <translate>Events</translate> === |
− | === Constants === | + | === <translate>Constants</translate> === |
[[Special:MyLanguage/localNormal|localNormal]]<br/> | [[Special:MyLanguage/localNormal|localNormal]]<br/> | ||
[[Special:MyLanguage/localPoint|localPoint]]<br/> | [[Special:MyLanguage/localPoint|localPoint]]<br/> | ||
[[Special:MyLanguage/points|points]]<br/> | [[Special:MyLanguage/points|points]]<br/> | ||
|} | |} |
Revision as of 07:27, 24 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 |
EventsConstants |