MovementHandlerThirdPersonAdventure.GetAnimationDirection
Method in MovementHandlerThirdPersonAdventure
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
controller | The movement controller determining the animation direction. |
state | The current movement state. |
Returns
Vector2 | The new animation direction. |