Patrol Route From Spline
PurePatrolRouteFromSplineSamples a spline component at equal intervals to generate patrol waypoints.
Type: Pure (no side effects)
Category: Fortuna|AI & Navigation
Keywords: ai & navigation
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Spline | USplineComponent* | — | Spline parameter |
| NumPoints | int | 10 | NumPoints parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| PatrolPoints | TArray<FVector> | PatrolPoints output |
Example Use Cases
Example 1
Create an AI patrol route from a designer-placed spline.
Example 2
Generate waypoints along a road for vehicle AI.