1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Merge branch 'max_slope' into 'master'

Change max walkable slope angle to 46 degrees

See merge request OpenMW/openmw!1280
This commit is contained in:
psi29a 2021-10-11 08:22:35 +00:00
commit 21c4504d35

View File

@ -12,7 +12,7 @@ namespace MWPhysics
static constexpr bool sDoExtraStairHacks = true;
static constexpr float sGroundOffset = 1.0f;
static constexpr float sMaxSlope = 49.0f;
static constexpr float sMaxSlope = 46.0f;
// Arbitrary number. To prevent infinite loops. They shouldn't happen but it's good to be prepared.
static constexpr int sMaxIterations = 8;