godot-setup-animationtree
SKILL.md
Setup AnimationTree State Machine
Core Principle
Animation is state-driven, not frame-driven. Use AnimationTree to manage animation states, BlendSpaces for smooth parameter blending, and transitions for state changes. Avoid direct AnimationPlayer playback in gameplay code.
What This Skill Does
Sets up complete AnimationTree systems:
- AnimationTree Node Structure - Creates the tree node and animation player binding
- AnimationNodeStateMachine - Builds state machine graphs with entry/exit states
- BlendSpace2D/3D - Configures locomotion blending based on velocity/input
- State Transitions - Defines conditions (bool, expression, time-based) for state changes
- Blend Trees - Creates complex animation mixing with OneShot, Add2, Blend2 nodes