This is part of a European project that will explore the possibility of using Augmented Reality in the Control Tower.
I’ve got a very fast pathfinding system if you wanted to move all the people in the airport, but it’s not very smart. It’s not good for high quality pathfinding, more of a dumb swarm sort of thing.
For know, we are just focusing on aircrafts and vehicles.
What you probably want is just plain A* pathfinding over a navmesh.
This looks exactly as what I’m looking for! Could you provide any file I can dig in? Would be very much appreciated…
Your problems though are going to come from the same thing that real aircraft controllers deal with. Congestion.
If you want to guide one airplane around the airport that’s easy enough if you know what you’re doing.
But when you’ve got a whole bunch of planes you’re also going to have to design some sort of priority system.
This will be up to the Air Traffic Controller, It doesn’t need to be AI (for now)
I did something similar before with RPG characters moving around a dungeon. When a call went out for some agents to move, I gave them a new unique ID from the main script. When moving a big group and checking who should move first I gave them a higher ID the closer they were to their target. When two agents are trying to move to the same node on the nav mesh they compare IDs. the one with a higher ID waits while the lower one moves. If they get stuck they draw new IDs from the main script based on how close they are to the target.
You can see it here:
(skip to the 30 second mark).
I do not understand this second video. The navigation “grid” is there, but the arrows seem to move freely on the whole surface…
There are some other pathfinding solutions you might try, there are thing which are better than A* but it’s a good place to start if you’re not already familiar.
I know that other algorithms exists. Again, at this stage, I do not worry to much about efficiency as in our case the path will be ultimately controlled by the Air Traffic Controller. I just want the aircraft to reach the final destination via the assigned waypoints.
Thank you very much Smoking_mirror!