com.bulletphysics.collision.dispatch
Class GhostPairCallback

java.lang.Object
  extended by com.bulletphysics.collision.broadphase.OverlappingPairCallback
      extended by com.bulletphysics.collision.dispatch.GhostPairCallback

public class GhostPairCallback
extends OverlappingPairCallback

GhostPairCallback interfaces and forwards adding and removal of overlapping pairs from the BroadphaseInterface to GhostObject.


Constructor Summary
GhostPairCallback()
           
 
Method Summary
 BroadphasePair addOverlappingPair(BroadphaseProxy proxy0, BroadphaseProxy proxy1)
           
 Object removeOverlappingPair(BroadphaseProxy proxy0, BroadphaseProxy proxy1, Dispatcher dispatcher)
           
 void removeOverlappingPairsContainingProxy(BroadphaseProxy proxy0, Dispatcher dispatcher)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhostPairCallback

public GhostPairCallback()
Method Detail

addOverlappingPair

public BroadphasePair addOverlappingPair(BroadphaseProxy proxy0,
                                         BroadphaseProxy proxy1)
Specified by:
addOverlappingPair in class OverlappingPairCallback

removeOverlappingPair

public Object removeOverlappingPair(BroadphaseProxy proxy0,
                                    BroadphaseProxy proxy1,
                                    Dispatcher dispatcher)
Specified by:
removeOverlappingPair in class OverlappingPairCallback

removeOverlappingPairsContainingProxy

public void removeOverlappingPairsContainingProxy(BroadphaseProxy proxy0,
                                                  Dispatcher dispatcher)
Specified by:
removeOverlappingPairsContainingProxy in class OverlappingPairCallback