public Vector2 Pursuit(Vehicle target) { Vector2 distance = target.Position - Entity.Position; int T = (int)(distance.Length() / Entity.Max_Speed); Vector2 futurePosition = target.Position + target.Velocity * T; return Seek(futurePosition); }
public SteeringBehaviour(Vehicle entity) { Entity = entity; }