Scenes and Game Objects · Version 0.5
Four-Directional Player Animation
Connect Player Controller movement to separate idle and walk animation triggers for down, left, right, and up facing.
Player Controller can drive a connected Animator using cardinal idle and walk triggers. This lets one Player object select an appropriate animation as movement and facing change.
Directional trigger fields
- Idle Down, Idle Left, Idle Right, and Idle Up.
- Walk Down, Walk Left, Walk Right, and Walk Up.
- Initial Facing: down, left, right, or up.
- Legacy general Idle and Walk triggers remain available as fallback behavior.
Set up the Player
- Add or select the Player Controller and Animator Components on the Player object.
- Create Animator states or triggers matching the directional names you intend to use.
- Enter the matching trigger names in Player Controller.
- Choose the initial facing direction.
- Enter Play Mode and test cardinal and diagonal input.
Stable diagonal facing
Diagonal movement remains speed-normalized. During diagonal input, Filmstrip keeps one stable cardinal facing based on the previous facing axis instead of rapidly switching between directions.