#if MODULE_ENTITIES
using Unity.Entities;
using Unity.Mathematics;
namespace Pathfinding.ECS {
using Pathfinding;
using Pathfinding.Util;
///
/// Holds the final movement data for an entity.
/// This is the data that is used by the movement system to move the entity.
///
public struct ResolvedMovement : IComponentData {
/// \copydocref{MovementControl.targetPoint}
public float3 targetPoint;
/// \copydocref{MovementControl.speed}
public float speed;
public float turningRadiusMultiplier;
/// \copydocref{MovementControl.targetRotation}
public float targetRotation;
/// \copydocref{MovementControl.targetRotationHint}
public float targetRotationHint;
/// \copydocref{MovementControl.targetRotationOffset}
public float targetRotationOffset;
/// \copydocref{MovementControl.rotationSpeed}
public float rotationSpeed;
}
}
#endif