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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user