BGE: Fix restitution: object will now bounce according to material restitution setting

This commit is contained in:
Benoit Bolsee 2008-04-16 18:47:36 +00:00
parent db86a05173
commit 35e655cd5a
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ void CcdPhysicsEnvironment::setSolverType(int solverType)
{
m_solver = new btSequentialImpulseConstraintSolver();
((btSequentialImpulseConstraintSolver*)m_solver)->setSolverMode(btSequentialImpulseConstraintSolver::SOLVER_USE_WARMSTARTING | btSequentialImpulseConstraintSolver::SOLVER_RANDMIZE_ORDER);
break;
}
}