com.bulletphysics.collision.broadphase
Class CollisionAlgorithm
java.lang.Object
com.bulletphysics.collision.broadphase.CollisionAlgorithm
- Direct Known Subclasses:
- CompoundCollisionAlgorithm, ConvexConcaveCollisionAlgorithm, ConvexConvexAlgorithm, ConvexPlaneCollisionAlgorithm, EmptyAlgorithm, GImpactCollisionAlgorithm, SphereSphereCollisionAlgorithm
public abstract class CollisionAlgorithm
- extends Object
Collision algorithm for handling narrowphase or midphase collision detection
between two collision object types.
CollisionAlgorithm
public CollisionAlgorithm()
init
public void init()
init
public void init(CollisionAlgorithmConstructionInfo ci)
destroy
public abstract void destroy()
processCollision
public abstract void processCollision(CollisionObject body0,
CollisionObject body1,
DispatcherInfo dispatchInfo,
ManifoldResult resultOut)
calculateTimeOfImpact
public abstract float calculateTimeOfImpact(CollisionObject body0,
CollisionObject body1,
DispatcherInfo dispatchInfo,
ManifoldResult resultOut)
getAllContactManifolds
public abstract void getAllContactManifolds(ObjectArrayList<PersistentManifold> manifoldArray)
internalSetCreateFunc
public final void internalSetCreateFunc(CollisionAlgorithmCreateFunc func)
internalGetCreateFunc
public final CollisionAlgorithmCreateFunc internalGetCreateFunc()