mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-18 03:36:45 +00:00
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.
This commit is contained in:
parent
d233bc483d
commit
3c338b9da9
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@
|
||||||
namespace MWMechanics
|
namespace MWMechanics
|
||||||
{
|
{
|
||||||
// NOTE: determined empirically but probably need further tweaking
|
// NOTE: determined empirically but probably need further tweaking
|
||||||
static const float DIST_SAME_SPOT = 0.72f;
|
static const float DIST_SAME_SPOT = 0.5f;
|
||||||
static const float DURATION_SAME_SPOT = 1.0f;
|
static const float DURATION_SAME_SPOT = 1.5f;
|
||||||
static const float DURATION_TO_EVADE = 0.4f;
|
static const float DURATION_TO_EVADE = 0.4f;
|
||||||
|
|
||||||
const float ObstacleCheck::evadeDirections[NUM_EVADE_DIRECTIONS][2] =
|
const float ObstacleCheck::evadeDirections[NUM_EVADE_DIRECTIONS][2] =
|
||||||
|
|
Loading…
Reference in a new issue