|
|
@ -46,10 +46,10 @@ namespace MWMechanics
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const float PATHFIND_Z_REACH = 50.0f;
|
|
|
|
const float PATHFIND_Z_REACH = 50.0f;
|
|
|
|
//static const float sMaxSlope = 49.0f; // duplicate as in physicssystem
|
|
|
|
|
|
|
|
// distance after which actor (failed previously to shortcut) will try again
|
|
|
|
// distance after which actor (failed previously to shortcut) will try again
|
|
|
|
const float PATHFIND_SHORTCUT_RETRY_DIST = 300.0f;
|
|
|
|
const float PATHFIND_SHORTCUT_RETRY_DIST = 300.0f;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const float MIN_TOLERANCE = 1.0f;
|
|
|
|
const float DEFAULT_TOLERANCE = 32.0f;
|
|
|
|
const float DEFAULT_TOLERANCE = 32.0f;
|
|
|
|
|
|
|
|
|
|
|
|
// cast up-down ray with some offset from actor position to check for pits/obstacles on the way to target;
|
|
|
|
// cast up-down ray with some offset from actor position to check for pits/obstacles on the way to target;
|
|
|
|