com.bulletphysics.collision.narrowphase
Class GjkConvexCast
java.lang.Object
com.bulletphysics.collision.narrowphase.GjkConvexCast
- All Implemented Interfaces:
- ConvexCast
public class GjkConvexCast
- extends java.lang.Object
- implements ConvexCast
GjkConvexCast performs a raycast on a convex object using support mapping.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pointInputsPool
protected final ObjectPool<DiscreteCollisionDetectorInterface.ClosestPointInput> pointInputsPool
GjkConvexCast
public GjkConvexCast(ConvexShape convexA,
ConvexShape convexB,
SimplexSolverInterface simplexSolver)
calcTimeOfImpact
public boolean calcTimeOfImpact(Transform fromA,
Transform toA,
Transform fromB,
Transform toB,
ConvexCast.CastResult result)
- Description copied from interface:
ConvexCast
- Cast a convex against another convex object.
- Specified by:
calcTimeOfImpact
in interface ConvexCast