mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Change max walkable slope angle to 46 degrees
This is the value used by vanilla Morrowind engine. At this angle player character starts sliding down the slope. This fixes navigation and movement issue in Mournhold, Godsreach.
This commit is contained in:
parent
b61140b8ba
commit
ff9aabafd1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user