Get Movement Direction

Pure
GetMovementDirection

Returns the character's current movement direction (normalized velocity) and speed.

Type: Pure (no side effects)
Category: Fortuna|Gameplay Utilities
Keywords: gameplay utilities

Inputs

NameTypeDefaultDescription
CharacterACharacter*Character parameter

Outputs

NameTypeDescription
ReturnValueFVectorReturnValue output
SpeedfloatSpeed output

Example Use Cases

Example 1

Drive blend space animations based on movement direction.

Example 2

Apply directional visual effects (wind, dust).