Bullet Collision Detection & Physics Library
|
btContinuousConvexCollision implements angular and linear time of impact for convex objects. More...
#include <btContinuousConvexCollision.h>
Public Member Functions | |
btContinuousConvexCollision (const btConvexShape *shapeA, const btConvexShape *shapeB, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *penetrationDepthSolver) | |
btContinuousConvexCollision (const btConvexShape *shapeA, const btStaticPlaneShape *plane) | |
virtual bool | calcTimeOfImpact (const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result) |
cast a convex against another convex object More... | |
Public Member Functions inherited from btConvexCast | |
virtual | ~btConvexCast () |
Private Member Functions | |
void | computeClosestPoints (const btTransform &transA, const btTransform &transB, struct btPointCollector &pointCollector) |
Private Attributes | |
btSimplexSolverInterface * | m_simplexSolver |
btConvexPenetrationDepthSolver * | m_penetrationDepthSolver |
const btConvexShape * | m_convexA |
const btConvexShape * | m_convexB1 |
const btStaticPlaneShape * | m_planeShape |
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 30 of file btContinuousConvexCollision.h.
btContinuousConvexCollision::btContinuousConvexCollision | ( | const btConvexShape * | shapeA, |
const btConvexShape * | shapeB, | ||
btSimplexSolverInterface * | simplexSolver, | ||
btConvexPenetrationDepthSolver * | penetrationDepthSolver | ||
) |
Definition at line 29 of file btContinuousConvexCollision.cpp.
btContinuousConvexCollision::btContinuousConvexCollision | ( | const btConvexShape * | shapeA, |
const btStaticPlaneShape * | plane | ||
) |
Definition at line 37 of file btContinuousConvexCollision.cpp.
|
virtual |
cast a convex against another convex object
compute linear and angular velocity for this interval, to interpolate
Implements btConvexCast.
Definition at line 90 of file btContinuousConvexCollision.cpp.
|
private |
Definition at line 49 of file btContinuousConvexCollision.cpp.
|
private |
Definition at line 34 of file btContinuousConvexCollision.h.
|
private |
Definition at line 36 of file btContinuousConvexCollision.h.
|
private |
Definition at line 33 of file btContinuousConvexCollision.h.
|
private |
Definition at line 37 of file btContinuousConvexCollision.h.
|
private |
Definition at line 32 of file btContinuousConvexCollision.h.