|
Blender V4.3
|
GjkConvexCast performs a raycast on a convex object using support mapping. More...
#include <btGjkConvexCast.h>
Inherits btConvexCast.
Public Member Functions | |
| btGjkConvexCast (const btConvexShape *convexA, const btConvexShape *convexB, btSimplexSolverInterface *simplexSolver) | |
| virtual bool | calcTimeOfImpact (const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result) |
| cast a convex against another convex object | |
Public Member Functions inherited from btConvexCast | |
| virtual | ~btConvexCast () |
GjkConvexCast performs a raycast on a convex object using support mapping.
Definition at line 28 of file btGjkConvexCast.h.
| btGjkConvexCast::btGjkConvexCast | ( | const btConvexShape * | convexA, |
| const btConvexShape * | convexB, | ||
| btSimplexSolverInterface * | simplexSolver ) |
Definition at line 28 of file btGjkConvexCast.cpp.
|
virtual |
cast a convex against another convex object
compute linear velocity for this interval, to interpolate
Implements btConvexCast.
Definition at line 35 of file btGjkConvexCast.cpp.
References btTransform, btGjkPairDetector::getClosestPoints(), btPointCollector::m_distance, btPointCollector::m_hasResult, btPointCollector::m_normalOnBInWorld, btPointCollector::m_pointInWorld, btDiscreteCollisionDetectorInterface::ClosestPointInput::m_transformA, MAX_ITERATIONS, and v.
Referenced by btConvex2dConvex2dAlgorithm::calculateTimeOfImpact(), and btConvexConvexAlgorithm::calculateTimeOfImpact().