Get Path Length

Callable
GetPathLength

Returns the navigation path length between two points.

Type: Callable (has execution pins)
Category: Fortuna|AI & Navigation
Keywords: ai & navigation

Inputs

NameTypeDefaultDescription
WorldContextUObject*WorldContext parameter
StartFVectorStart parameter
EndFVectorEnd parameter

Outputs

NameTypeDescription
PathLengthfloatPathLength output
bPathFoundboolbPathFound output

Example Use Cases

Example 1

AI choosing the nearest reachable target by path distance (not straight-line).

Example 2

Displaying objective distance that accounts for walls.