Distance Trigger
UFPTask_TriggerDistance · Inherits UFlowPilotTask → UObject · Tasks/FPTask_TriggerDistance.h
Trigger by Distance
- Checks distances from Source Actor Reference and Destination Actor Reference
- Will use Squared Distances internally.
Properties
| Property | Default | Description |
|---|---|---|
Source Actor ReferenceSourceActorReference · FFlowActorReference | Source Actor to check Distance From | |
OperationOperation · EFPDistanceComparisonOp | Less Than | Distance Comparison Operation |
MethodMethod · EFPDistanceMethod | Distance3 D | Distance method to use. |
Threshold DistanceThresholdDistance · float | Threshold to check distance against Min: 0.0 | |
Destination Actor ReferenceDestinationActorReference · FFlowActorReference | Destination Actor to check Distance From |
Common Task options
Every Task also has Task Name, Description and Enabled, see FlowPilot Task.
Enums
EFPDistanceComparisonOp
Trigger Distance Comparison Operation
| Value | Description |
|---|---|
Less ThanLessThan | |
Less Than Or EqualLessThanOrEqual | |
Greater ThanGreaterThan | |
Greater Than Or EqualGreaterThanOrEqual |
EFPDistanceMethod
Distance Calculation Method
| Value | Description |
|---|---|
Distance3 DDistance3D | |
Distance2 DDistance2D |