Bullet Collision Detection & Physics Library
Functions | Variables
btManifoldResult.cpp File Reference
#include "btManifoldResult.h"
#include "BulletCollision/NarrowPhaseCollision/btPersistentManifold.h"
#include "BulletCollision/CollisionDispatch/btCollisionObject.h"
#include "BulletCollision/CollisionDispatch/btCollisionObjectWrapper.h"
Include dependency graph for btManifoldResult.cpp:

Go to the source code of this file.

Functions

btScalar calculateCombinedRollingFriction (const btCollisionObject *body0, const btCollisionObject *body1)
 User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;. More...
 

Variables

ContactAddedCallback gContactAddedCallback =0
 This is to allow MaterialCombiner/Custom Friction/Restitution values. More...
 

Function Documentation

btScalar calculateCombinedRollingFriction ( 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 28 of file btManifoldResult.cpp.

Variable Documentation

ContactAddedCallback gContactAddedCallback =0

This is to allow MaterialCombiner/Custom Friction/Restitution values.

Definition at line 23 of file btManifoldResult.cpp.