Fix some NPC dancing (#13177)

- Bump the collision avoidance range, seemed okay compared to last time I tried. Means they shouldn't get caught by thindows
- Removed the steer frequency because I'm pretty sure that lead to dancing in some instances.
This commit is contained in:
metalgearsloth
2022-12-25 11:35:00 +11:00
committed by GitHub
parent f5b4cadd22
commit bc8f3dc0b0
2 changed files with 3 additions and 20 deletions

View File

@@ -36,20 +36,6 @@ public sealed class NPCSteeringComponent : Component
#endregion
/// <summary>
/// How many times per second we're allowed to update our steering frequency.
/// </summary>
public const byte SteerFrequency = 10;
/// <summary>
/// Last time the NPC steered.
/// </summary>
[ViewVariables]
public TimeSpan LastTimeSteer;
[ViewVariables]
public Vector2 LastSteer;
/// <summary>
/// Have we currently requested a path.
/// </summary>