MovementHandlerFirstPersonCombat.GetAnimationDirection


Declaration

public override Vector2 GetAnimationDirection(MovementController controller, MovementState state)

Description

Determines the character's direction for animation purposes. This is usually the character's forward direction normalized in local space.

Parameters

controllerThe movement controller determining the animation direction.
stateThe current movement state.

Returns

Vector2The new animation direction.