- Home /
Question by
tiltaghe · Apr 16, 2013 at 08:31 PM ·
pathfindingastar
Is there a way for an A* gridgraph pathfinding to consider the collider of terrain trees ?
Hello !
I am using Aron Granberg's A* pathfinding. I have a grid graph setup for my agents to navigate the terrain.
I have trees that are single mesh imported and then painted on the terrain. Their prefab has an added capsule collider (its work fine for collision) and is setup to the correct layer: the one used as obstacle in the grid graph.
However, when I update the graph of the pathfinding, nodes still exists and are connected through the painted trees.
Do you know how to solve this problem ? Ty very much :)
Comment