Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
17 #ifndef BT_COMPOUND_COLLISION_ALGORITHM_H
18 #define BT_COMPOUND_COLLISION_ALGORITHM_H
99 #endif //BT_COMPOUND_COLLISION_ALGORITHM_H
btCollisionObject can be used to manage collision detection objects.
btScalar calculateTimeOfImpact(btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
void removeChildAlgorithms()
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations ...
virtual void getAllContactManifolds(btManifoldArray &manifoldArray)
bool(* btShapePairCallback)(const btCollisionShape *pShape0, const btCollisionShape *pShape1)
virtual void * allocateCollisionAlgorithm(int size)=0
void preallocateChildAlgorithms(const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
btShapePairCallback gCompoundChildShapePairCallback
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatche...
int m_compoundShapeRevision
The btCollisionShape class provides an interface for collision shapes that can be shared among btColl...
Used by the btCollisionDispatcher to register and create instances for btCollisionAlgorithm.
virtual btCollisionAlgorithm * CreateCollisionAlgorithm(btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
btManifoldResult is a helper class to manage contact results.
virtual ~btCompoundCollisionAlgorithm()
btManifoldArray manifoldArray
btPersistentManifold is a contact point cache, it stays persistent as long as objects are overlapping...
btCompoundCollisionAlgorithm supports collision between CompoundCollisionShapes and other collision s...
btDispatcher * m_dispatcher1
virtual void processCollision(const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
btCompoundCollisionAlgorithm(const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, bool isSwapped)
This class is not enabled yet (work-in-progress) to more aggressively activate objects.
class btPersistentManifold * m_sharedManifold
btAlignedObjectArray< btCollisionAlgorithm * > m_childCollisionAlgorithms
btCollisionAlgorithm * getChildAlgorithm(int n) const
int size() const
return the number of elements in the array
virtual btCollisionAlgorithm * CreateCollisionAlgorithm(btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)