Increase the max number of physics iterations

Should help with highly tessellated collision meshes with high
framerates.
This commit is contained in:
Chris Robinson 2013-08-20 04:41:52 -07:00
parent a993af53e7
commit d9040df9d6

View file

@ -31,7 +31,7 @@ namespace MWWorld
static const float sMaxSlope = 60.0f;
static const float sStepSize = 30.0f;
// Arbitrary number. To prevent infinite loops. They shouldn't happen but it's good to be prepared.
static const int sMaxIterations = 4;
static const int sMaxIterations = 8;
class MovementSolver
{