Blender V2.61 - r43446
|
#include "btManifoldResult.h"
#include "BulletCollision/NarrowPhaseCollision/btPersistentManifold.h"
#include "BulletCollision/CollisionDispatch/btCollisionObject.h"
Go to the source code of this file.
Functions | |
btScalar | calculateCombinedFriction (const btCollisionObject *body0, const btCollisionObject *body1) |
User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;. | |
btScalar | calculateCombinedRestitution (const btCollisionObject *body0, const btCollisionObject *body1) |
Variables | |
ContactAddedCallback | gContactAddedCallback = 0 |
This is to allow MaterialCombiner/Custom Friction/Restitution values. |
btScalar calculateCombinedFriction | ( | const btCollisionObject * | body0, |
const btCollisionObject * | body1 | ||
) | [inline] |
User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;.
Definition at line 26 of file btManifoldResult.cpp.
Referenced by btManifoldResult::addContactPoint().
btScalar calculateCombinedRestitution | ( | const btCollisionObject * | body0, |
const btCollisionObject * | body1 | ||
) | [inline] |
Definition at line 39 of file btManifoldResult.cpp.
Referenced by btManifoldResult::addContactPoint().
This is to allow MaterialCombiner/Custom Friction/Restitution values.
Definition at line 23 of file btManifoldResult.cpp.
Referenced by btManifoldResult::addContactPoint().