Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
22 #define USE_PERSISTENT_CONTACTS 1
55 #ifndef USE_PERSISTENT_CONTACTS
57 #endif //USE_PERSISTENT_CONTACTS
67 #ifdef USE_PERSISTENT_CONTACTS
73 #endif //USE_PERSISTENT_CONTACTS
btCollisionObject can be used to manage collision detection objects.
btDispatcher * m_dispatcher
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
The btBoxShape is a box primitive around the origin, its sides axis aligned with length specified by ...
class btIDebugDraw * m_debugDraw
const btTransform & getWorldTransform() const
virtual void processCollision(const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
virtual ~btBoxBoxCollisionAlgorithm()
virtual btPersistentManifold * getNewManifold(const btCollisionObject *b0, const btCollisionObject *b1)=0
virtual bool needsCollision(const btCollisionObject *body0, const btCollisionObject *body1)=0
btManifoldResult is a helper class to manage contact results.
virtual void releaseManifold(btPersistentManifold *manifold)=0
const btCollisionShape * getCollisionShape() const
const btCollisionObject * getCollisionObject() const
btPersistentManifold is a contact point cache, it stays persistent as long as objects are overlapping...
void setPersistentManifold(btPersistentManifold *manifoldPtr)
btPersistentManifold * m_manifoldPtr
virtual void getClosestPoints(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
btBoxBoxCollisionAlgorithm(const btCollisionAlgorithmConstructionInfo &ci)
btBoxBoxDetector wraps the ODE box-box collision detector re-distributed under the Zlib license with ...
void refreshContactPoints()
This class is not enabled yet (work-in-progress) to more aggressively activate objects.
virtual btScalar calculateTimeOfImpact(btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)