Difference between revisions of "B2.Contact"

From GiderosMobile
Line 5: Line 5:
 
<br />
 
<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 />
 
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 ===

Revision as of 09:12, 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.

{|- | style="width: 50%;"|

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 -
| style="width: 50%;"|

Events

Constants

|}