Add support for childshape index for btCompoundShape during ContactAddedCallback,
see example in Bullet/Demos/ConvexDecompositionDemo Removed some warnings
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user