com.bulletphysics.collision.dispatch
Class CollisionWorld.RayResultCallback
java.lang.Object
com.bulletphysics.collision.dispatch.CollisionWorld.RayResultCallback
- Direct Known Subclasses:
- CollisionWorld.ClosestRayResultCallback
- Enclosing class:
- CollisionWorld
public abstract static class CollisionWorld.RayResultCallback
- extends Object
RayResultCallback is used to report new raycast results.
closestHitFraction
public float closestHitFraction
collisionObject
public CollisionObject collisionObject
collisionFilterGroup
public short collisionFilterGroup
collisionFilterMask
public short collisionFilterMask
CollisionWorld.RayResultCallback
public CollisionWorld.RayResultCallback()
hasHit
public boolean hasHit()
needsCollision
public boolean needsCollision(BroadphaseProxy proxy0)
addSingleResult
public abstract float addSingleResult(CollisionWorld.LocalRayResult rayResult,
boolean normalInWorldSpace)