com.bulletphysics.collision.dispatch
Class CollisionWorld.ClosestConvexResultCallback

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

public static class CollisionWorld.ClosestConvexResultCallback
extends CollisionWorld.ConvexResultCallback


Field Summary
 Vector3f convexFromWorld
           
 Vector3f convexToWorld
           
 CollisionObject hitCollisionObject
           
 Vector3f hitNormalWorld
           
 Vector3f hitPointWorld
           
 
Fields inherited from class com.bulletphysics.collision.dispatch.CollisionWorld.ConvexResultCallback
closestHitFraction, collisionFilterGroup, collisionFilterMask
 
Constructor Summary
CollisionWorld.ClosestConvexResultCallback(Vector3f convexFromWorld, Vector3f convexToWorld)
           
 
Method Summary
 float addSingleResult(CollisionWorld.LocalConvexResult convexResult, boolean normalInWorldSpace)
           
 
Methods inherited from class com.bulletphysics.collision.dispatch.CollisionWorld.ConvexResultCallback
hasHit, needsCollision
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

convexFromWorld

public final Vector3f convexFromWorld

convexToWorld

public final Vector3f convexToWorld

hitNormalWorld

public final Vector3f hitNormalWorld

hitPointWorld

public final Vector3f hitPointWorld

hitCollisionObject

public CollisionObject hitCollisionObject
Constructor Detail

CollisionWorld.ClosestConvexResultCallback

public CollisionWorld.ClosestConvexResultCallback(Vector3f convexFromWorld,
                                                  Vector3f convexToWorld)
Method Detail

addSingleResult

public float addSingleResult(CollisionWorld.LocalConvexResult convexResult,
                             boolean normalInWorldSpace)
Specified by:
addSingleResult in class CollisionWorld.ConvexResultCallback