A* Pathfinding Project  3.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Enumerations Properties Groups Pages
IFunnelGraph Interface Reference

Graphs implementing this interface have support for the Funnel modifier. More...

+ Inheritance diagram for IFunnelGraph:

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)
 

Detailed Description

Graphs implementing this interface have support for the Funnel modifier.

Member Function Documentation

void AddPortal ( Node  n1,
Node  n2,
List< Vector3 >  left,
List< Vector3 >  right 
)

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.


The documentation for this interface was generated from the following file: