set m_contact_iterations to solverInfo.m_solverIterations
This commit is contained in:
@@ -21,6 +21,7 @@ void btDeformableContactProjection::update()
|
||||
{
|
||||
///solve rigid body constraints
|
||||
{
|
||||
// m_numIterations get temporarily to 1 so that we interleave one step of multibody solve with one step of multibody/deformable contact solve
|
||||
m_world->getSolverInfo().m_numIterations = 1;
|
||||
m_world->processIslands();
|
||||
m_world->btMultiBodyDynamicsWorld::solveInternalConstraints(m_world->getSolverInfo()); // process constraints deferred in the previous step
|
||||
|
||||
Reference in New Issue
Block a user