Lerp Angle
PureLerpAngleLinearly interpolates between two angles, taking the shortest path across the 360/0 boundary.
Type: Pure (no side effects)
Category: Fortuna|Math & Numeric
Keywords: math & numeric
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| A | float | — | A parameter |
| B | float | — | B parameter |
| Alpha | float 0-1 | — | Alpha parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
Smooth turret rotation toward target.
Example 2
Compass needle animation.