All skills
thedivergentai avatar

/godot-animation-tree-mastery

@9d6e91e

Expert patterns for AnimationTree including StateMachine transitions, BlendSpace2D for directional movement, BlendTree for layered animations, root motion, transition conditions, advance expressions, and state machine sub-states. Use for complex character animation systems with movement blending and state management. Trigger keywords: AnimationTree, AnimationNodeStateMachine, BlendSpace2D, BlendSpace1D, BlendTree, transition_request, blend_position, advance_expression, AnimationNodeAdd2, AnimationNodeBlend2, root_motion.

Use this Skill: https://skilld.dev/gh/thedivergentai/gd-agentic-skills/godot-animation-tree-mastery

This session only. Nothing lands on disk.

referencesadvanced-graph-recipes.md

≈387 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Advanced AnimationTree Graph Recipes

Do NOT Load by default. Open only when implementing nested combat graphs, IK look-at beside the tree, or deep BlendTree layering after the golden path scripts fail to cover the case.

Nested StateMachines

Locomotion root StateMachine → Combat / Airborne sub-machines. Parameter paths stay relative (parameters/Locomotion/Combat/playback). Prefer nested_state_machine.gd and nested_tree_architecture.gd.

BlendTree layering checklist

  1. Lower body: BlendSpace1D/2D or locomotion StateMachine.
  2. Upper body: AnimationNodeAdd2 / Blend2 with filter mask (advanced_transition_masking.gd).
  3. Overlays: AnimationNodeOneShot (reactive_oneshot_vfx.gd).
  4. Sync groups only when clip lengths match (sync_group_layering.gd).

Skeleton IK / LookAt

Drive look-at beside the tree with LookAtModifier3D; do not fight AnimationTree bone tracks. See skeleton_ik_lookat.gd. Godot 4.7: LookAtModifier3D.relative default is false.

Root motion

Extract via AnimationTree getters, apply on CharacterBody — root_motion_animtree_sync.gd.

Debug / cull

Source: SKILL.md on GitHub

1 warning17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    No security issues detected. The skill provides expert patterns for Godot's AnimationTree system using standard GDScript and Markdown documentation.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    4/4 files flagged

Signed by skilld at 9d6e91e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 2 months ago

README badge

README badge for thedivergentai/gd-agentic-skills/godot-animation-tree-mastery