#if MODULE_ENTITIES using Unity.Entities; using Unity.Mathematics; namespace Pathfinding.ECS { /// Holds an agent's destination point public struct DestinationPoint : IComponentData { /// /// The destination point that the agent is moving towards. /// /// This is the point that the agent is trying to reach, but it may not always be possible to reach it. /// /// See: /// See: /// public float3 destination; /// /// The direction the agent should face when it reaches the destination. /// /// If zero, the agent will not try to face any particular direction when reaching the destination. /// public float3 facingDirection; } } #endif