Pathfinding.RVO.Sampled.Agent.Agent C# (CSharp) Method

Agent() public method

public Agent ( Vector3 pos ) : UnityEngine
pos UnityEngine.Vector3
return UnityEngine
		public Agent (Vector3 pos) {
			MaxSpeed = 2;
			NeighbourDist = 15;
			AgentTimeHorizon = 2;
			ObstacleTimeHorizon = 2;
			Height = 5;
			Radius = 5;
			MaxNeighbours = 10;
			Locked = false;

			position = pos;
			Position = position;
			prevSmoothPos = position;
			smoothPos = position;

			Layer = RVOLayer.DefaultAgent;
			CollidesWith = (RVOLayer)(-1);
		}