Difference between revisions of "B2.Contact"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2012.09.6<br/> === Description === <br /> The class manages contact between two shapes. A contact exi...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2012.09.6<br/>
 
'''Available since:''' Gideros 2012.09.6<br/>
 
=== Description ===
 
=== Description ===
Line 6: Line 6:
 
The class manages contact between two shapes. A contact exists for each overlapping AABB in the broad-phase (except if filtered). Therefore a contact object may exist that has no contact points.<br />
 
The class manages contact between two shapes. A contact exists for each overlapping AABB in the broad-phase (except if filtered). Therefore a contact object may exist that has no contact points.<br />
 
<br />
 
<br />
 +
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
{|-
 
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
 +
[[b2.Contact:getChildIndexA]] - <br/>
 +
[[b2.Contact:getChildIndexB]] - <br/>
 +
[[b2.Contact:getFixtureA]] - <br/>
 +
[[b2.Contact:getFixtureB]] - <br/>
 +
[[b2.Contact:getFriction]] - <br/>
 +
[[b2.Contact:getManifold]] - <br/>
 +
[[b2.Contact:getRestitution]] - <br/>
 +
[[b2.Contact:getWorldManifold]] - <br/>
 +
[[b2.Contact:isTouching]] - <br/>
 +
[[b2.Contact:resetFriction]] - <br/>
 +
[[b2.Contact:resetRestitution]] - <br/>
 +
[[b2.Contact:setEnabled]] - <br/>
 +
[[b2.Contact:setFriction]] - <br/>
 +
[[b2.Contact:setRestitution]] - <br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 09:57, 23 August 2018

Supported platforms: android, ios, mac, pc
Available since: Gideros 2012.09.6

Description


The class manages contact between two shapes. A contact exists for each overlapping AABB in the broad-phase (except if filtered). Therefore a contact object may exist that has no contact points.











Methods

b2.Contact:getChildIndexA -
b2.Contact:getChildIndexB -
b2.Contact:getFixtureA -
b2.Contact:getFixtureB -
b2.Contact:getFriction -
b2.Contact:getManifold -
b2.Contact:getRestitution -
b2.Contact:getWorldManifold -
b2.Contact:isTouching -
b2.Contact:resetFriction -
b2.Contact:resetRestitution -
b2.Contact:setEnabled -
b2.Contact:setFriction -
b2.Contact:setRestitution -

Events

Constants