Bullet Collision Detection & Physics Library
|
btCompoundCollisionAlgorithm supports collision between CompoundCollisionShapes and other collision shapes More...
#include <btCompoundCollisionAlgorithm.h>
Classes | |
struct | CreateFunc |
struct | SwappedCreateFunc |
Private Member Functions | |
void | removeChildAlgorithms () |
void | preallocateChildAlgorithms (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap) |
Private Attributes | |
btAlignedObjectArray < btCollisionAlgorithm * > | m_childCollisionAlgorithms |
bool | m_isSwapped |
class btPersistentManifold * | m_sharedManifold |
bool | m_ownsManifold |
int | m_compoundShapeRevision |
Additional Inherited Members | |
Protected Attributes inherited from btCollisionAlgorithm | |
btDispatcher * | m_dispatcher |
btCompoundCollisionAlgorithm supports collision between CompoundCollisionShapes and other collision shapes
Definition at line 37 of file btCompoundCollisionAlgorithm.h.
btCompoundCollisionAlgorithm::btCompoundCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci, |
const btCollisionObjectWrapper * | body0Wrap, | ||
const btCollisionObjectWrapper * | body1Wrap, | ||
bool | isSwapped | ||
) |
Definition at line 28 of file btCompoundCollisionAlgorithm.cpp.
|
virtual |
Definition at line 87 of file btCompoundCollisionAlgorithm.cpp.
|
virtual |
Implements btCollisionAlgorithm.
Definition at line 324 of file btCompoundCollisionAlgorithm.cpp.
|
inlinevirtual |
Implements btCollisionAlgorithm.
Definition at line 68 of file btCompoundCollisionAlgorithm.h.
|
inline |
Definition at line 58 of file btCompoundCollisionAlgorithm.h.
|
private |
Definition at line 45 of file btCompoundCollisionAlgorithm.cpp.
|
virtual |
btCompoundShape might have changed: /make sure the internal child collision algorithm caches are still valid
clear and update all
we need to refresh all contact manifolds note that we should actually recursively traverse all children, btCompoundShape can nested more then 1 level deep so we should add a 'refreshManifolds' in the btCollisionAlgorithm
Implements btCollisionAlgorithm.
Definition at line 216 of file btCompoundCollisionAlgorithm.cpp.
|
private |
Definition at line 73 of file btCompoundCollisionAlgorithm.cpp.
|
private |
Definition at line 39 of file btCompoundCollisionAlgorithm.h.
|
private |
Definition at line 46 of file btCompoundCollisionAlgorithm.h.
|
private |
Definition at line 40 of file btCompoundCollisionAlgorithm.h.
|
private |
Definition at line 43 of file btCompoundCollisionAlgorithm.h.
|
private |
Definition at line 42 of file btCompoundCollisionAlgorithm.h.