Increase the max number of physics iterations

Should help with highly tessellated collision meshes with high
framerates.
actorid
Chris Robinson 12 years ago
parent a993af53e7
commit d9040df9d6

@ -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
{

Loading…
Cancel
Save