test if different broadphase maintains determinism

This commit is contained in:
Erwin Coumans 2018-08-26 16:49:17 -07:00
parent ff43cea263
commit 6ab6cf0bdb

View File

@ -2365,9 +2365,9 @@ void PhysicsServerCommandProcessor::createEmptyDynamicsWorld()
m_data->m_pairCache->setOverlapFilterCallback(m_data->m_broadphaseCollisionFilterCallback);
//int maxProxies = 32768;
//m_data->m_broadphase = new btSimpleBroadphase(maxProxies, m_data->m_pairCache);
m_data->m_broadphase = new btDbvtBroadphase(m_data->m_pairCache);
int maxProxies = 32768;
m_data->m_broadphase = new btSimpleBroadphase(maxProxies, m_data->m_pairCache);
//m_data->m_broadphase = new btDbvtBroadphase(m_data->m_pairCache);
m_data->m_solver = new btMultiBodyConstraintSolver;