PackageBox2D.Dynamics
Classpublic class b2ContactManager
Inheritanceb2ContactManager Inheritance b2PairCallback

Delegate of b2World.



Public Methods
 MethodDefined by
  
b2ContactManager
  
Collide():void
This is the top level collision call for the time step.
b2ContactManager
  
b2ContactManager
  
PairAdded(proxyUserData1:*, proxyUserData2:*):*
This is a callback from the broadphase when two AABB proxies begin to overlap.
b2ContactManager
  
PairRemoved(proxyUserData1:*, proxyUserData2:*, pairUserData:*):void
This is a callback from the broadphase when two AABB proxies cease to overlap.
b2ContactManager
Property detail
m_worldproperty
b2internal var m_world:b2World
Constructor detail
b2ContactManager()constructor
public function b2ContactManager()
Method detail
Collide()method
public function Collide():void

This is the top level collision call for the time step. Here all the narrow phase collision is processed for the world contact list.

Destroy()method 
public function Destroy(c:b2Contact):voidParameters
c:b2Contact
PairAdded()method 
public override function PairAdded(proxyUserData1:*, proxyUserData2:*):*

This is a callback from the broadphase when two AABB proxies begin to overlap. We create a b2Contact to manage the narrow phase.

Parameters
proxyUserData1:*
 
proxyUserData2:*

Returns
*
PairRemoved()method 
public override function PairRemoved(proxyUserData1:*, proxyUserData2:*, pairUserData:*):void

This is a callback from the broadphase when two AABB proxies cease to overlap. We retire the b2Contact.

Parameters
proxyUserData1:*
 
proxyUserData2:*
 
pairUserData:*