diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-04-16 22:47:36 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-04-16 22:47:36 +0400 |
commit | 35e655cd5ac4c4dcaaf10af7636926770af353d6 (patch) | |
tree | 94a98ef986c4c577927014d517034537e7832ef8 | |
parent | db86a0517351079ff938053486e9f946393e4dbb (diff) |
BGE: Fix restitution: object will now bounce according to material restitution setting
-rw-r--r-- | source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp index 5771e7f1dc7..c9d346e316d 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp +++ b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp @@ -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; } } |