Class FunnelModifier Extends MonoModifier
Simplifies paths on navmesh graphs using the funnel algorithm.
The funnel algorithm is an algorithm which can, given a path corridor with nodes in the path where the nodes have an area, like triangles, it can find the shortest path inside it. This makes paths on navmeshes look much cleaner and smoother.
The funnel modifier also works on grid graphs using a different algorithm, but which yields visually similar results.
Note
The Pathfinding.RichAI movement script has its own internal funnel modifier. You do not need to attach this component if you are using the RichAI movement script.
Public Methods
Called for each path that the Seeker calculates after the calculation has finished.
Public Variables
When using a grid graph, take penalties, tag penalties and ITraversalProvider penalties into account.
Determines if funnel simplification is used.
Insert a vertex every time the path crosses a portal instead of only at the corners of the path.
Public Enums
Inherited Public Members
Private/Protected Members
Handle serialization backwards compatibility.
Handle serialization backwards compatibility.