#include <btContinuousConvexCollision.h>
Public Member Functions | |
btContinuousConvexCollision (const btConvexShape *shapeA, const btConvexShape *shapeB, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *penetrationDepthSolver) | |
virtual bool | calcTimeOfImpact (const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result) |
cast a convex against another convex object | |
Private Attributes | |
const btConvexShape * | m_convexA |
const btConvexShape * | m_convexB |
btConvexPenetrationDepthSolver * | m_penetrationDepthSolver |
btSimplexSolverInterface * | m_simplexSolver |
btContinuousConvexCollision implements angular and linear time of impact for convex objects. Based on Brian Mirtich's Conservative Advancement idea (PhD thesis). Algorithm operates in worldspace, in order to keep inbetween motion globally consistent. It uses GJK at the moment. Future improvement would use minkowski sum / supporting vertex, merging innerloops
Definition at line 29 of file btContinuousConvexCollision.h.
btContinuousConvexCollision::btContinuousConvexCollision | ( | const btConvexShape * | shapeA, | |
const btConvexShape * | shapeB, | |||
btSimplexSolverInterface * | simplexSolver, | |||
btConvexPenetrationDepthSolver * | penetrationDepthSolver | |||
) |
virtual bool btContinuousConvexCollision::calcTimeOfImpact | ( | const btTransform & | fromA, | |
const btTransform & | toA, | |||
const btTransform & | fromB, | |||
const btTransform & | toB, | |||
CastResult & | result | |||
) | [virtual] |
cast a convex against another convex object
Implements btConvexCast.
const btConvexShape* btContinuousConvexCollision::m_convexA [private] |
Definition at line 33 of file btContinuousConvexCollision.h.
const btConvexShape* btContinuousConvexCollision::m_convexB [private] |
Definition at line 34 of file btContinuousConvexCollision.h.
Definition at line 32 of file btContinuousConvexCollision.h.
Definition at line 31 of file btContinuousConvexCollision.h.