I am using a slightly modified version of the AIPath script and I have disabled “Cutting Corners” on my A* object but it still cuts corners. And thanks to my game style with tiles without walls the AI falls off the map when it reaches a corner. How can I fix this? I really want the AI to walk a bit closer in on the tile.
After some testing it didn’t do much change. Sure the AI stays on the tiles but barley. I want the AI to be closer to the middle. How can I do that? Right now the AI is walking along on the edge.
I think one source of confusion might be that while the graph looks like it renders squares, it actually renders the connections between the nodes.
So the corners of the things the look like squares in the image are the node positions and the lines are connections between the different nodes.
Also, try to increase the “erosion” setting on the grid graph, that might help.