add cloth demo to show deformable friction

This commit is contained in:
Xuchen Han
2019-09-19 16:38:45 -07:00
parent 55ebafc755
commit 0501fe1bbd
8 changed files with 333 additions and 22 deletions

View File

@@ -24,7 +24,7 @@ btDeformableBodySolver::btDeformableBodySolver()
, m_cg(20)
, m_maxNewtonIterations(3)
, m_newtonTolerance(1e-4)
, m_lineSearch(true)
, m_lineSearch(false)
{
m_objective = new btDeformableBackwardEulerObjective(m_softBodies, m_backupVelocity);
}