Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)

Thanks a lot to Francisco León Nájera for the contribution!
This commit is contained in:
ejcoumans
2006-11-12 07:46:30 +00:00
parent 5f91cc237d
commit 125a9c673d
3 changed files with 71 additions and 12 deletions

View File

@@ -31,6 +31,7 @@ int gIndices[NUM_TRIANGLES*3];
const float TRIANGLE_SIZE=80.f;
///User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;
inline btScalar calculateCombinedFriction(float friction0,float friction1)
{