mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04: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
@ -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…
x
Reference in New Issue
Block a user