B2.Manifold: Difference between revisions
From GiderosMobile
No edit summary |
m Text replacement - "<source" to "<syntaxhighlight" |
||
| Line 10: | Line 10: | ||
=== Examples === | === Examples === | ||
'''Example content of b2.Manifold''' | '''Example content of b2.Manifold''' | ||
< | <syntaxhighlight lang="lua"> | ||
[localNormal] => Table { | [localNormal] => Table { | ||
{ | { | ||
Revision as of 15:35, 12 July 2023
Supported platforms: ![]()
![]()
![]()
![]()
![]()
![]()
![]()
Available since: Gideros 2012.09.6
Description
Holds the local information about contact between 2 bodies.
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
}
</source>
Methods |
EventsConstants |