Get Path Cost

Callable
GetPathCost

Returns the weighted navigation cost of a path (accounts for nav areas like mud, water).

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

Inputs

NameTypeDefaultDescription
WorldContextUObject*WorldContext parameter
StartFVectorStart parameter
EndFVectorEnd parameter

Outputs

NameTypeDescription
PathCostfloatPathCost output
bPathFoundboolbPathFound output

Example Use Cases

Example 1

AI preferring roads over swamps.

Example 2

Pathfinding that factors in terrain difficulty.