Is there a 'string pulling' or 'funnel modifier' built in to use with a Grid Graph + AI Lerp?

Hey there, I want to find a way to have less zig-zaggy paths on a grid graph using AI Lerp.

Should http://arongranberg.com/astar/docs/class_pathfinding_1_1_funnel_modifier.php - do the job? Are there any examples I can look at?

Simply adding a funnelmodifier component seems to do the basic job. Cool.

… Or does it. It seems to do something in the layered grid graph example scene, but the paths are still pretty weird. Hmm.

Hi

The funnel modifier can be used by simply attaching it to the same object that has the Seeker component.
However the funnel modifier can only simplify the path within the corridor constructed from the nodes that the path traversed, so sometimes it cannot be simplified as much as one would want.
You can try adding the Raycast Simplifier as well, that can sometimes help simplify it even more.