Add support for childshape index for btCompoundShape during ContactAddedCallback,

see example in Bullet/Demos/ConvexDecompositionDemo
Removed some warnings
This commit is contained in:
erwin.coumans
2009-08-11 00:30:41 +00:00
parent f352cca5cf
commit d67aa861f2
40 changed files with 235 additions and 113 deletions

View File

@@ -338,7 +338,8 @@ void MotorDemo::clientMoveAndDisplay()
if (m_dynamicsWorld)
{
m_dynamicsWorld->stepSimulation(ms / 1000000.f);
///run the simulation at 120 hertz internally (maximum of 10 substeps)
m_dynamicsWorld->stepSimulation(ms / 1000000.f,10,1./120.f);
m_dynamicsWorld->debugDrawWorld();
}