BGE: Fix restitution: object will now bounce according to material restitution setting
This commit is contained in:
parent
db86a05173
commit
35e655cd5a
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue