Distance To Line
PureDistanceToLineReturns the shortest distance from a point to an infinite line.
Type: Pure (no side effects)
Category: Fortuna|Vector & Transform
Keywords: vector & transform
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Point | FVector | — | Point parameter |
| LineOrigin | FVector | — | LineOrigin parameter |
| LineDirection | FVector | — | LineDirection parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
Determine how far a shot missed a target line.
Example 2
Calculate clearance from a power line.