set the paircache filter

This commit is contained in:
Erwin Coumans 2017-01-16 21:04:02 -08:00
parent b9b958ec9c
commit 966ebb04fe

View File

@ -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;