Support Forum

Getting zigzag paths on RecastGraph with Seeker

Hi. We are having a massive issue with A* Pathfinding Project since it, at least in some cases, returns a really zigzaggy path (see image).

This image is not using the SimpleSmooth modifiers. It seems to want to always match the path nodes with the centers of the navmesh triangles. How can we overcome this and get straight path instead? Thank you.

EDIT: We have a large open world (4000 x 4000 meters) which is why we want to use a pre-scanned & cached RecastGraph.

Hi

The path as returned by the pathfinding system is just the node centers, but the funnel modifier will take those triangle nodes and return a nice smooth path through them.