More NPC steering tweaks (#14119)
This commit is contained in:
@@ -36,6 +36,15 @@ public sealed class NPCSteeringComponent : Component
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Next time we can change our steering direction.
|
||||
/// </summary>
|
||||
public TimeSpan NextSteer = TimeSpan.Zero;
|
||||
|
||||
public Vector2 LastSteerDirection = Vector2.Zero;
|
||||
|
||||
public const int SteeringFrequency = 10;
|
||||
|
||||
/// <summary>
|
||||
/// Have we currently requested a path.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user