Get Path Cost
CallableGetPathCostReturns 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
| Name | Type | Default | Description |
|---|---|---|---|
| WorldContext | UObject* | — | WorldContext parameter |
| Start | FVector | — | Start parameter |
| End | FVector | — | End parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| PathCost | float | PathCost output |
| bPathFound | bool | bPathFound output |
Example Use Cases
Example 1
AI preferring roads over swamps.
Example 2
Pathfinding that factors in terrain difficulty.