com.bulletphysics.collision.narrowphase
Class GjkConvexCast

java.lang.Object
  extended by com.bulletphysics.collision.narrowphase.ConvexCast
      extended by com.bulletphysics.collision.narrowphase.GjkConvexCast

public class GjkConvexCast
extends ConvexCast

GjkConvexCast performs a raycast on a convex object using support mapping.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.bulletphysics.collision.narrowphase.ConvexCast
ConvexCast.CastResult
 
Constructor Summary
GjkConvexCast(ConvexShape convexA, ConvexShape convexB, SimplexSolverInterface simplexSolver)
           
 
Method Summary
 boolean calcTimeOfImpact(Transform fromA, Transform toA, Transform fromB, Transform toB, ConvexCast.CastResult result)
          Cast a convex against another convex object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GjkConvexCast

public GjkConvexCast(ConvexShape convexA,
                     ConvexShape convexB,
                     SimplexSolverInterface simplexSolver)
Method Detail

calcTimeOfImpact

public boolean calcTimeOfImpact(Transform fromA,
                                Transform toA,
                                Transform fromB,
                                Transform toB,
                                ConvexCast.CastResult result)
Description copied from class: ConvexCast
Cast a convex against another convex object.

Specified by:
calcTimeOfImpact in class ConvexCast