Direction To Rotation
PureDirectionToRotationConverts a direction vector to a rotator. Convenience wrapper for Direction.Rotation().
Type: Pure (no side effects)
Category: Fortuna|Vector & Transform
Keywords: vector & transform
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Direction | FVector | — | Direction parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FRotator | ReturnValue output |
Example Use Cases
Example 1
Point a turret in the direction of a target.
Example 2
Orient a decal along a surface normal.