Get Facing Angle Between
PureGetFacingAngleBetweenReturns the angle between each actor's forward vector and the direction to the other actor.
Type: Pure (no side effects)
Category: Fortuna|Gameplay Utilities
Keywords: gameplay utilities
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| ActorA | AActor* | — | ActorA parameter |
| ActorB | AActor* | — | ActorB parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| AngleFromAToB | float | AngleFromAToB output |
| AngleFromBToA | float | AngleFromBToA output |
Example Use Cases
Example 1
Flanking detection (is attacker behind defender?).
Example 2
Determine if two characters are facing each other.