ObstacleCheck: tweak the stuck detection parameters

The netch_betty wander animation starts up so slowly that the creature thought it was stuck, even though it's not.
openmw-37
scrawl 9 years ago
parent d233bc483d
commit 3c338b9da9

@ -11,8 +11,8 @@
namespace MWMechanics
{
// NOTE: determined empirically but probably need further tweaking
static const float DIST_SAME_SPOT = 0.72f;
static const float DURATION_SAME_SPOT = 1.0f;
static const float DIST_SAME_SPOT = 0.5f;
static const float DURATION_SAME_SPOT = 1.5f;
static const float DURATION_TO_EVADE = 0.4f;
const float ObstacleCheck::evadeDirections[NUM_EVADE_DIRECTIONS][2] =

Loading…
Cancel
Save