A* Pathfinding Project
3.7.3
The A* Pathfinding Project for Unity 3D
|
Simplifies paths on navmesh graphs using the funnel algorithm. More...
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.
Public Member Functions | |
override void | Apply (Path p, ModifierData source) |
Main Post-Processing function. | |
![]() | |
void | Awake () |
Alerts the Seeker that this modifier exists. | |
void | OnDestroy () |
void | OnDisable () |
void | OnEnable () |
void | PreProcess (Path p) |
![]() | |
void | Apply (Path p, ModifierData source) |
void | PreProcess (Path p) |
Static Public Member Functions | |
static bool | RunFunnel (List< Vector3 > left, List< Vector3 > right, List< Vector3 > funnelPath) |
Calculate a funnel path from the left and right portal lists. | |
Properties | |
override ModifierData | input [get] |
override ModifierData | output [get] |
![]() | |
abstract ModifierData | input [get] |
abstract ModifierData | output [get] |
int | Priority [get, set] |
Higher priority modifiers are executed first. | |
![]() | |
ModifierData | input [get] |
ModifierData | output [get] |
int | Priority [get, set] |
Additional Inherited Members | |
![]() | |
Seeker | seeker |
|
virtual |
Main Post-Processing function.
Implements MonoModifier.
|
static |
Calculate a funnel path from the left and right portal lists.
The result will be appended to funnelPath
|
get |
|
get |