use solvermode 'randomized' and not warmstarting

This commit is contained in:
ejcoumans
2007-02-13 16:47:04 +00:00
parent bf68a742cc
commit a5bf6a1254

View File

@@ -318,6 +318,9 @@ void CcdPhysicsDemo::initPhysics()
#else
//default constraint solver
btSequentialImpulseConstraintSolver* solver = new btSequentialImpulseConstraintSolver;
//default solverMode is SOLVER_RANDMIZE_ORDER. Warmstarting seems not to improve convergence, see
//solver->setSolverMode(btSequentialImpulseConstraintSolver::SOLVER_USE_WARMSTARTING | btSequentialImpulseConstraintSolver::SOLVER_RANDMIZE_ORDER);
#endif