Improving aircraft movement system

Hello, I’m currently working on an Air Traffic Control Simulator game at the moment. I have the fundamentals of the game complete (aircraft landing/taking off, etc). But, I’ve came upon an issue. At the moment, I use TweenService to move the aircraft. I make a path out of smaller parts and then tween the aircraft to the parts to simulate movement.

Example of the path:

With this current method I use, I would have to create individual paths for every type of aircraft I intend to implement into the game. In the future, I would also like players to be able to move the aircraft anywhere on the airport (with this current method I would have to make paths to everywhere and then loop to tween them).

It’s just really inefficient but I have no other ideas on how to move the aircraft. If anyone has any suggestions or a better method that doesn’t take me having to make paths for every aircraft to go everywhere on the airport, I would appreciate it a bunch!

It sounds like you should be using PathfindingService.

1 Like

I’ve used PathfindingService for some NPCs awhile back, what would you say is the best way to implement Pathfinding in my case?

I’m not sure, I’ve never used it like this. Of course, you’d have to make a taking off animation and landing, but you could probably change AgentRadius to a high value, steer and change throttle with dot products, and raycast downwards to move up and down.

1 Like

I see, I don’t know how to use Raycasts, animations, or dot products but I’ll research these topics, I appreciate the ideas.