Closest Point On Box
PureClosestPointOnBoxReturns the closest point on an oriented bounding box to a given point.
Type: Pure (no side effects)
Category: Fortuna|Vector & Transform
Keywords: vector & transform
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Point | FVector | — | Point parameter |
| BoxCenter | FVector | — | BoxCenter parameter |
| BoxExtent | FVector | — | BoxExtent parameter |
| BoxRotation | FRotator | — | BoxRotation parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FVector | ReturnValue output |
Example Use Cases
Example 1
Find nearest surface point on a building for a cover system.
Example 2
Calculate distance from a point to a rotated trigger volume.