- Home /
Can i use A* pathfinding on planes?
Hey guys, what's up! I have a simple question: can i use A* pathfinding from Aron Granberg or from Angry Ant in a plane? Or do i need a specific AI script for flying objects? Thanks! I need to make a plane chase the the player, which is piloting and airplane like this:
This is a screenshot of my game edited in Photoshop :D
I'd expect you can use it as a basis, but ultimately you'd need to alter it for your needs, as is almost everything lol.
Yeah! I know i'll need to change something, but, basically, i want to know if these systems can be used with a place with no base, no floor, only air. I'll download the aron A* system, and try to alter it. Thanks!
Answer by Jayde · Apr 26, 2011 at 02:08 AM
A* is a generic path finding algorithm and can therefore be used to solve any pathing problem (whether it's on a surface or not). The only question is whether or not these systems are generic enough to support generating a multilayered grid rather than points on a plane. The challenge with this will be finding a good heuristic for calculating distance to the end goal to make your A* calculation efficient.
Your answer
Follow this Question
Related Questions
A* or AStar Pathfinding doesnt work for me? 0 Answers
A* (AStar) Pathfinding Issue - Path not spawning instantly 0 Answers
How to implement A* to have an AI trying to reach the player 2 Answers
A* Pathfinding project with mecanim animation 0 Answers
[Arongranberg A * Pathfinding Project] How to move units without overlaping of them? 1 Answer