Context steering for NPCs (#12915)

This commit is contained in:
metalgearsloth
2022-12-12 14:33:43 +11:00
committed by GitHub
parent 881ba0d48d
commit 7910bd3ff4
17 changed files with 952 additions and 228 deletions

View File

@@ -0,0 +1,16 @@
namespace Content.Shared.NPC;
public abstract class SharedNPCSteeringSystem : EntitySystem
{
public const byte InterestDirections = 12;
/// <summary>
/// How many radians between each interest direction.
/// </summary>
public const float InterestRadians = MathF.Tau / InterestDirections;
/// <summary>
/// How many degrees between each interest direction.
/// </summary>
public const float InterestDegrees = 360f / InterestDirections;
}