com.bulletphysics.collision.narrowphase
Class SubsimplexConvexCast
java.lang.Object
com.bulletphysics.collision.narrowphase.ConvexCast
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.
SubsimplexConvexCast
public SubsimplexConvexCast(ConvexShape shapeA,
ConvexShape shapeB,
SimplexSolverInterface simplexSolver)
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