Recast Graph vs Navmesh Graph

Hi !

Reading on the Graph Types - A* Pathfinding Project I still don’t understand the differences between Recast Graph vs Navmesh Graph in order to know which one to pick.

Thanks,
George

The recast graph is generated automatically from the world. The navmesh graph is modelled by hand.
Other than that they are very similar.

Thanks for quick answer ! One last question: having a terrain and its terrain collider, can I generate the recast graph automatically from the terrain’s collider (not from its mesh) ?

The terrain collider is identical to its mesh, is it not?

pretty much, I just don’t want to include some props that sit on the terrain.

Props (e.g. trees) are automatically included if the prefabs have colliders. If they do not, they are ignored.

1 Like