blob: d29781c337a0631603d88e7adeabefe06de8f44a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#if MODULE_ENTITIES
using Unity.Entities;
using Unity.Mathematics;
namespace Pathfinding.ECS {
public struct MovementStatistics : IComponentData {
/// <summary>
/// The estimated velocity that the agent is moving with.
/// This includes all form of movement, including local avoidance and gravity.
/// </summary>
public float3 estimatedVelocity;
/// <summary>The position of the agent at the end of the last movement simulation step</summary>
public float3 lastPosition;
}
}
#endif
|