com.bulletphysics.collision.broadphase
Class OverlapFilterCallback
java.lang.Object
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)
OverlapFilterCallback
public OverlapFilterCallback()
needBroadphaseCollision
public abstract boolean needBroadphaseCollision(BroadphaseProxy proxy0,
BroadphaseProxy proxy1)
- Checks if given pair of collision objects needs collision.
- Parameters:
proxy0
- first objectproxy1
- second object
- Returns:
- true when pairs need collision