com.bulletphysics.collision.dispatch
Class ConvexPlaneCollisionAlgorithm
java.lang.Object
com.bulletphysics.collision.broadphase.CollisionAlgorithm
com.bulletphysics.collision.dispatch.ConvexPlaneCollisionAlgorithm
public class ConvexPlaneCollisionAlgorithm
- extends CollisionAlgorithm
ConvexPlaneCollisionAlgorithm provides convex/plane collision detection.
Method Summary |
float |
calculateTimeOfImpact(CollisionObject body0,
CollisionObject body1,
DispatcherInfo dispatchInfo,
ManifoldResult resultOut)
|
void |
destroy()
|
void |
getAllContactManifolds(ObjectArrayList<PersistentManifold> manifoldArray)
|
void |
init(PersistentManifold mf,
CollisionAlgorithmConstructionInfo ci,
CollisionObject col0,
CollisionObject col1,
boolean isSwapped)
|
void |
processCollision(CollisionObject body0,
CollisionObject body1,
DispatcherInfo dispatchInfo,
ManifoldResult resultOut)
|
ConvexPlaneCollisionAlgorithm
public ConvexPlaneCollisionAlgorithm()
init
public void init(PersistentManifold mf,
CollisionAlgorithmConstructionInfo ci,
CollisionObject col0,
CollisionObject col1,
boolean isSwapped)
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