NPC steering tweaks (#17911)

- Slightly less twitchy in melee.
- Resteer less.
- More aggressive in pursuing running away targets.
This commit is contained in:
metalgearsloth
2023-07-10 05:20:20 +10:00
committed by GitHub
parent e3cef0f86c
commit b4033d557b
3 changed files with 19 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ public sealed class NPCSteeringComponent : Component
[DataField("lastSteerDirection")]
public Vector2 LastSteerDirection = Vector2.Zero;
public const int SteeringFrequency = 10;
public const int SteeringFrequency = 5;
/// <summary>
/// Last position we considered for being stuck.