16 #ifndef BT_SOFT_RIGID_COLLISION_ALGORITHM_H 17 #define BT_SOFT_RIGID_COLLISION_ALGORITHM_H 73 #endif //BT_SOFT_RIGID_COLLISION_ALGORITHM_H btPersistentManifold is a contact point cache, it stays persistent as long as objects are overlapping...
virtual ~btSoftRigidCollisionAlgorithm()
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
btManifoldResult is a helper class to manage contact results.
virtual void processCollision(const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
virtual void * allocateCollisionAlgorithm(int size)=0
Used by the btCollisionDispatcher to register and create instances for btCollisionAlgorithm.
virtual btScalar calculateTimeOfImpact(btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
btCollisionObject can be used to manage collision detection objects.
btSoftRigidCollisionAlgorithm provides collision detection between btSoftBody and btRigidBody ...
virtual btCollisionAlgorithm * CreateCollisionAlgorithm(btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
virtual void getAllContactManifolds(btManifoldArray &manifoldArray)
btSoftRigidCollisionAlgorithm(btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *col0, const btCollisionObjectWrapper *col1Wrap, bool isSwapped)
TODO: include all the shapes that the softbody can collide with alternatively, implement special case...
btDispatcher * m_dispatcher1
The btSoftBody is an class to simulate cloth and volumetric soft bodies.
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatche...
bool m_isSwapped
for rigid versus soft (instead of soft versus rigid), we use this swapped boolean ...
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...