Bullet Collision Detection & Physics Library
|
btManifoldResult is a helper class to manage contact results. More...
#include <btManifoldResult.h>
Static Public Member Functions | |
static btScalar | calculateCombinedRestitution (const btCollisionObject *body0, const btCollisionObject *body1) |
in the future we can let the user override the methods to combine restitution and friction More... | |
static btScalar | calculateCombinedFriction (const btCollisionObject *body0, const btCollisionObject *body1) |
User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;. More... | |
Protected Attributes | |
btPersistentManifold * | m_manifoldPtr |
const btCollisionObjectWrapper * | m_body0Wrap |
const btCollisionObjectWrapper * | m_body1Wrap |
int | m_partId0 |
int | m_partId1 |
int | m_index0 |
int | m_index1 |
btManifoldResult is a helper class to manage contact results.
Definition at line 39 of file btManifoldResult.h.
|
inline |
Definition at line 55 of file btManifoldResult.h.
btManifoldResult::btManifoldResult | ( | const btCollisionObjectWrapper * | body0Wrap, |
const btCollisionObjectWrapper * | body1Wrap | ||
) |
Definition at line 63 of file btManifoldResult.cpp.
|
inlinevirtual |
Definition at line 68 of file btManifoldResult.h.
|
virtual |
Implements btDiscreteCollisionDetectorInterface::Result.
Reimplemented in btBridgedManifoldResult, and btPerturbedContactResult.
Definition at line 77 of file btManifoldResult.cpp.
|
static |
User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;.
Definition at line 43 of file btManifoldResult.cpp.
|
static |
in the future we can let the user override the methods to combine restitution and friction
Definition at line 56 of file btManifoldResult.cpp.
|
inline |
Definition at line 135 of file btManifoldResult.h.
|
inline |
Definition at line 116 of file btManifoldResult.h.
|
inline |
Definition at line 140 of file btManifoldResult.h.
|
inline |
Definition at line 120 of file btManifoldResult.h.
|
inline |
Definition at line 75 of file btManifoldResult.h.
|
inline |
Definition at line 79 of file btManifoldResult.h.
|
inline |
Definition at line 99 of file btManifoldResult.h.
|
inline |
Definition at line 125 of file btManifoldResult.h.
|
inline |
Definition at line 130 of file btManifoldResult.h.
|
inline |
Definition at line 70 of file btManifoldResult.h.
|
inlinevirtual |
setShapeIdentifiersA/B provides experimental support for per-triangle material / custom material combiner
Implements btDiscreteCollisionDetectorInterface::Result.
Definition at line 84 of file btManifoldResult.h.
|
inlinevirtual |
Implements btDiscreteCollisionDetectorInterface::Result.
Definition at line 90 of file btManifoldResult.h.
|
protected |
Definition at line 45 of file btManifoldResult.h.
|
protected |
Definition at line 46 of file btManifoldResult.h.
|
protected |
Definition at line 49 of file btManifoldResult.h.
|
protected |
Definition at line 50 of file btManifoldResult.h.
|
protected |
Definition at line 43 of file btManifoldResult.h.
|
protected |
Definition at line 47 of file btManifoldResult.h.
|
protected |
Definition at line 48 of file btManifoldResult.h.