A* Pathfinding Project
3.1.4
The A* Pathfinding Project for Unity 3D
|
Graphs implementing this interface have support for the Funnel modifier. More...
Public Member Functions | |
void | AddPortal (Node n1, Node n2, List< Vector3 > left, List< Vector3 > right) |
Add the portal between node n1 and n2 to the funnel corridor. | |
void | BuildFunnelCorridor (List< Node > path, int sIndex, int eIndex, List< Vector3 > left, List< Vector3 > right) |
Graphs implementing this interface have support for the Funnel modifier.
Add the portal between node n1 and n2 to the funnel corridor.
The left and right edges does not necesarily need to be the left and right edges (right can be left), they will be swapped if that is detected. But that works only as long as the edges do not switch between left and right in the middle of the path.