com.bulletphysics.collision.dispatch
Class CollisionWorld.ConvexResultCallback

java.lang.Object
  extended by com.bulletphysics.collision.dispatch.CollisionWorld.ConvexResultCallback
Direct Known Subclasses:
CollisionWorld.ClosestConvexResultCallback
Enclosing class:
CollisionWorld

public abstract static class CollisionWorld.ConvexResultCallback
extends Object


Field Summary
 float closestHitFraction
           
 short collisionFilterGroup
           
 short collisionFilterMask
           
 
Constructor Summary
CollisionWorld.ConvexResultCallback()
           
 
Method Summary
abstract  float addSingleResult(CollisionWorld.LocalConvexResult convexResult, boolean normalInWorldSpace)
           
 boolean hasHit()
           
 boolean needsCollision(BroadphaseProxy proxy0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

closestHitFraction

public float closestHitFraction

collisionFilterGroup

public short collisionFilterGroup

collisionFilterMask

public short collisionFilterMask
Constructor Detail

CollisionWorld.ConvexResultCallback

public CollisionWorld.ConvexResultCallback()
Method Detail

hasHit

public boolean hasHit()

needsCollision

public boolean needsCollision(BroadphaseProxy proxy0)

addSingleResult

public abstract float addSingleResult(CollisionWorld.LocalConvexResult convexResult,
                                      boolean normalInWorldSpace)