com.bulletphysics.collision.broadphase
Class OverlapFilterCallback

java.lang.Object
  extended by com.bulletphysics.collision.broadphase.OverlapFilterCallback

public abstract class OverlapFilterCallback
extends Object

Callback for filtering broadphase collisions.

See Also:
OverlappingPairCache.setOverlapFilterCallback(com.bulletphysics.collision.broadphase.OverlapFilterCallback)

Constructor Summary
OverlapFilterCallback()
           
 
Method Summary
abstract  boolean needBroadphaseCollision(BroadphaseProxy proxy0, BroadphaseProxy proxy1)
          Checks if given pair of collision objects needs collision.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlapFilterCallback

public OverlapFilterCallback()
Method Detail

needBroadphaseCollision

public abstract boolean needBroadphaseCollision(BroadphaseProxy proxy0,
                                                BroadphaseProxy proxy1)
Checks if given pair of collision objects needs collision.

Parameters:
proxy0 - first object
proxy1 - second object
Returns:
true when pairs need collision