I have a graph created based on the navmesh, and I want to run A* on it, but I have a question about finding the shortest path.
As you can see in the image, the graph itself is fairly wonky in some areas due to objects cutting up the navmesh.
I am wondering if this means it is possible that A* picks the wrong path, in a potential situation where one path is shorter on the navmesh, but has more cuts causing a longer line on the graph.
Or does A* account for this somehow? Or should I find a way to optimize the graph? Or some other solution?