diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index 235cfc5fa..100446e9a 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -768,7 +768,7 @@ void PhysicsServerCommandProcessor::createEmptyDynamicsWorld() m_data->m_pairCache->setOverlapFilterCallback(m_data->m_broadphaseCollisionFilterCallback); - m_data->m_broadphase = new btDbvtBroadphase(); + m_data->m_broadphase = new btDbvtBroadphase(m_data->m_pairCache); m_data->m_solver = new btMultiBodyConstraintSolver;