From d9040df9d697733a628d00dbe5cb617603ad0ce2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 20 Aug 2013 04:41:52 -0700 Subject: [PATCH] Increase the max number of physics iterations Should help with highly tessellated collision meshes with high framerates. --- apps/openmw/mwworld/physicssystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwworld/physicssystem.cpp b/apps/openmw/mwworld/physicssystem.cpp index a1d759ea8..558d3f037 100644 --- a/apps/openmw/mwworld/physicssystem.cpp +++ b/apps/openmw/mwworld/physicssystem.cpp @@ -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 {