A* Pathfinding Project

How to find a route


I’m testing Example8_PathTypes.
Searching for DemoMode.ABPath will change many of the node connections.
When searching with DemoMode.ABPath, can I make a node connection like the path of DemoMode.FleePath?



I can’t really understand the question. Do you think you could elaborate?



In DemoMode.FloodPathTracer, when you connect a diagonal node, you go straight and go 45 degrees.
I want to move the diagonal line of DemoMode.ABPath in this way.


My game should be a route from the center of the node to the center.

Please help me



I’m not quite sure what you are asking still, but maybe you will get the desired result by changing the A* Inspector -> Settings -> Heuristic setting.


It is well.
Thank you.