com.bulletphysics.collision.narrowphase
Class ConvexCast.CastResult

java.lang.Object
  extended by com.bulletphysics.collision.narrowphase.ConvexCast.CastResult
Enclosing class:
ConvexCast

public static class ConvexCast.CastResult
extends Object

RayResult stores the closest result. Alternatively, add a callback method to decide about closest/all results.


Field Summary
 float allowedPenetration
           
 IDebugDraw debugDrawer
           
 float fraction
           
 Vector3f hitPoint
           
 Transform hitTransformA
           
 Transform hitTransformB
           
 Vector3f normal
           
 
Constructor Summary
ConvexCast.CastResult()
           
 
Method Summary
 void debugDraw(float fraction)
           
 void drawCoordSystem(Transform trans)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hitTransformA

public final Transform hitTransformA

hitTransformB

public final Transform hitTransformB

normal

public final Vector3f normal

hitPoint

public final Vector3f hitPoint

fraction

public float fraction

allowedPenetration

public float allowedPenetration

debugDrawer

public IDebugDraw debugDrawer
Constructor Detail

ConvexCast.CastResult

public ConvexCast.CastResult()
Method Detail

debugDraw

public void debugDraw(float fraction)

drawCoordSystem

public void drawCoordSystem(Transform trans)