only call buildIslands once for multibody in each timestep

This commit is contained in:
Xuchen Han
2019-08-02 10:19:31 -07:00
parent f1e7ce9ce1
commit 3dc8abcf36
6 changed files with 20 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ void btDeformableBodySolver::solveConstraints(float solverdt)
backupVelocity();
m_objective->computeResidual(solverdt, m_residual);
// m_objective->initialGuess(m_dv, m_residual);
computeStep(m_dv, m_residual);
updateVelocity();
}