default contact erp (m_erp2) was too low in physics server

causing gripper to penetrate box
This commit is contained in:
Erwin Coumans 2016-09-15 23:11:27 +01:00
parent 79d24db60f
commit 4d6a95017e

View File

@ -593,7 +593,7 @@ void PhysicsServerCommandProcessor::createEmptyDynamicsWorld()
m_data->m_dynamicsWorld->setGravity(btVector3(0, 0, 0)); m_data->m_dynamicsWorld->setGravity(btVector3(0, 0, 0));
m_data->m_dynamicsWorld->getSolverInfo().m_erp2 = 0.005; m_data->m_dynamicsWorld->getSolverInfo().m_erp2 = 0.05;
} }
void PhysicsServerCommandProcessor::deleteCachedInverseDynamicsBodies() void PhysicsServerCommandProcessor::deleteCachedInverseDynamicsBodies()