com.bulletphysics.collision.narrowphase
Class SubsimplexConvexCast

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

public class SubsimplexConvexCast
extends ConvexCast

SubsimplexConvexCast implements Gino van den Bergens' paper "Ray Casting against bteral Convex Objects with Application to Continuous Collision Detection" GJK based Ray Cast, optimized version Objects should not start in overlap, otherwise results are not defined.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.bulletphysics.collision.narrowphase.ConvexCast
ConvexCast.CastResult
 
Constructor Summary
SubsimplexConvexCast(ConvexShape shapeA, ConvexShape shapeB, 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

SubsimplexConvexCast

public SubsimplexConvexCast(ConvexShape shapeA,
                            ConvexShape shapeB,
                            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