use solvermode 'randomized' and not warmstarting

This commit is contained in:
ejcoumans committed 2007-02-13 16:47:04 +00:00
1 parent bf68a742cc
commit a5bf6a1254
1 file changed
+3
+3
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