Skip to content

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 ​

PropertyDefaultDescription
Source Actor Reference
SourceActorReference · FFlowActorReference
Source Actor to check Distance From
Operation
Operation · EFPDistanceComparisonOp
Less ThanDistance Comparison Operation
Method
Method · EFPDistanceMethod
Distance3 DDistance method to use.
Threshold Distance
ThresholdDistance · float
Threshold to check distance against
Min: 0.0
Destination Actor Reference
DestinationActorReference · 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

ValueDescription
Less Than
LessThan
Less Than Or Equal
LessThanOrEqual
Greater Than
GreaterThan
Greater Than Or Equal
GreaterThanOrEqual

EFPDistanceMethod ​

Distance Calculation Method

ValueDescription
Distance3 D
Distance3D
Distance2 D
Distance2D