com.bulletphysics.collision.dispatch
Class EmptyAlgorithm

java.lang.Object
  extended by com.bulletphysics.collision.broadphase.CollisionAlgorithm
      extended by com.bulletphysics.collision.dispatch.EmptyAlgorithm

public class EmptyAlgorithm
extends CollisionAlgorithm

Empty algorithm, used as fallback when no collision algorithm is found for given shape type pair.


Nested Class Summary
static class EmptyAlgorithm.CreateFunc
           
 
Constructor Summary
EmptyAlgorithm()
           
 
Method Summary
 float calculateTimeOfImpact(CollisionObject body0, CollisionObject body1, DispatcherInfo dispatchInfo, ManifoldResult resultOut)
           
 void destroy()
           
 void getAllContactManifolds(ObjectArrayList<PersistentManifold> manifoldArray)
           
 void processCollision(CollisionObject body0, CollisionObject body1, DispatcherInfo dispatchInfo, ManifoldResult resultOut)
           
 
Methods inherited from class com.bulletphysics.collision.broadphase.CollisionAlgorithm
init, init, internalGetCreateFunc, internalSetCreateFunc
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyAlgorithm

public EmptyAlgorithm()
Method Detail

destroy

public void destroy()
Specified by:
destroy in class CollisionAlgorithm

processCollision

public void processCollision(CollisionObject body0,
                             CollisionObject body1,
                             DispatcherInfo dispatchInfo,
                             ManifoldResult resultOut)
Specified by:
processCollision in class CollisionAlgorithm

calculateTimeOfImpact

public float calculateTimeOfImpact(CollisionObject body0,
                                   CollisionObject body1,
                                   DispatcherInfo dispatchInfo,
                                   ManifoldResult resultOut)
Specified by:
calculateTimeOfImpact in class CollisionAlgorithm

getAllContactManifolds

public void getAllContactManifolds(ObjectArrayList<PersistentManifold> manifoldArray)
Specified by:
getAllContactManifolds in class CollisionAlgorithm