summaryrefslogtreecommitdiff
path: root/Other/AstarPathfindingDemo/Packages/com.arongranberg.astar/Core/ECS/Components/AgentCylinderShape.cs
blob: 9909d0f9ac2632c37d6b5bbc67c346396586a96a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#if MODULE_ENTITIES
using Unity.Entities;

namespace Pathfinding.ECS {
	using Pathfinding;
	using Pathfinding.ECS.RVO;

	/// <summary>An agent's shape represented as a cylinder</summary>
	[System.Serializable]
	public struct AgentCylinderShape : IComponentData {
		/// <summary>Radius of the agent in world units</summary>
		public float radius;

		/// <summary>Height of the agent in world units</summary>
		public float height;
	}
}
#endif