Logo von Godot Animation Tree Mastery

Godot Animation Tree Mastery

Community
thedivergentai
godot-animation-tree-mastery

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.

Übersicht

Herausgeberthedivergentai
RepositoryGD-Agentic-Skills
Skill-Namegodot-animation-tree-mastery
Sterne
727
Forks
43
Mitgelieferte Dateien
18
LizenzLGPL-3.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 18

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von thedivergentai auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Godot Animation Tree Mastery in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/thedivergentai/GD-Agentic-Skills/tree/main/skills/godot-animation-tree-mastery
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thedivergentai/GD-Agentic-Skills.git /tmp/GD-Agentic-Skills
mkdir -p .claude/skills
cp -r /tmp/GD-Agentic-Skills/skills/godot-animation-tree-mastery .claude/skills/godot-animation-tree-mastery
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Godot Animation Tree Mastery in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Godot Animation Tree Mastery automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Godot Animation Tree Mastery nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

AnimationTree Mastery

Expert guidance for Godot's advanced animation blending and state machines.

NEVER Do

  • NEVER call play() on AnimationPlayer when using AnimationTree — AnimationTree controls the player. Directly calling play() causes conflicts and jitter. Use set("parameters/transition_request") or travel() instead.
  • NEVER forget to set active = true — AnimationTree is inactive by default. Animations won't play until $AnimationTree.active = true.
  • NEVER use absolute paths for parameter access — Use relative paths like "parameters/StateMachine/transition_request". This ensures compatibility when nodes move in the hierarchy.
  • NEVER leave auto_advance enabled for interactive states — It causes immediate transitions. Use it only for automated sequences like combo chains or death-to-respawn.
  • NEVER use BlendSpace2D for 1D blending — Blending only speed? Use BlendSpace1D. Blending only two states? Use Blend2. BlendSpace2D is specifically for X+Y directional inputs (strafe).
  • NEVER update AnimationTree parameters every frame without a guard — Setting parameters via set() every frame regardless of change causes cache invalidation and potential stutter. Check equality first.
  • NEVER use deep, nested BlendTrees for simple logic — Every layer adds CPU overhead. If logic can be handled in a StateMachine or a simple script-driven Blend2, do it there.
  • NEVER forget to handle await get_tree().process_frame when updating parameters synchronously — Sometimes the tree needs one frame to reconcile state before the next parameter change takes effect.
  • NEVER rely on auto_advance for long cutscenes — If an animation is interrupted, auto_advance can put the character in a broken state. Use Method Tracks to signal state completion instead.
  • NEVER use Sync groups for animations with wildly different lengths — It forces one animation to play at an extreme speed. Use TimeScale or separate layers for mismatching cycles.

Available Scripts

MANDATORY: Read the appropriate script before implementing the corresponding pattern. Do NOT Load references/advanced-graph-recipes.md unless nested combat graphs, IK look-at, or deep BlendTree layering are in scope.

sync_parameter_manager.gd

Guarded AnimationTree parameter writes — prevent redundant set() churn every physics frame.

statemachine_travel_code.gd

Programmatic AnimationNodeStateMachinePlayback via travel() / start().

tree_travel_manager.gd

Trigger: multi-machine travel / request queue. Centralizes travel requests across nested playback paths without calling AnimationPlayer.play().

nested_state_machine.gd

Trigger: locomotion + combat (or air) sub-machines. Nested StateMachine parameter paths and playback handoff.

skeleton_ik_lookat.gd

Trigger: aim/look-at beside the tree. LookAtModifier3D / IK that must not fight bone tracks the tree owns.

reactive_oneshot_vfx.gd

AnimationNodeOneShot for recoil, blinks, and hit reactions.

dynamic_timescale_control.gd

Runtime playback speed for bullet-time or haste multipliers.

advanced_transition_masking.gd

Bone filter masks on Add2/Blend2 for upper/lower body separation.

blendtree_logic_mixing.gd

Interactive combat layer mixing inside BlendTree graphs.

root_motion_animtree_sync.gd

CharacterBody motion extraction from AnimationTree root motion.

sync_group_layering.gd

Sync groups for multi-layer clips that share length (e.g. walk + reload).

nested_tree_architecture.gd

Hierarchical StateMachine / nested parameter path architecture.

runtime_tree_debugging.gd

Visualize current states, travel paths, and blend values at runtime.

animation_event_dispatcher.gd

Method-track → dispatch_event(name, metadata) signal bridge; decouple VFX/audio from graph code.

animation_complexity_manager.gd

Swap tree_root hero vs crowd graph when VisibleOnScreenNotifier3D culls off-screen actors.


Decision Tree (replace inline tutorials)

NeedPreferScript
Simple clip swap / UI / propAnimationPlayer onlyPeer godot-animation-player
5+ gameplay states, travelStateMachine rootstatemachine_travel_code.gd, tree_travel_manager.gd
Speed only blendBlendSpace1DGuarded writes via sync_parameter_manager.gd
Strafe / aim X+YBlendSpace2DSame + blend_position
Upper-body overlay / combat layerBlendTree Add2/Blend2/OneShotblendtree_logic_mixing.gd, reactive_oneshot_vfx.gd
Nested combat/air under locomotionNested SMMANDATORY nested_state_machine.gd
Look-at / IKModifier beside treeMANDATORY skeleton_ik_lookat.gd
Deep graph recipesreferences/Do NOT Load unless needed → advanced-graph-recipes.md

Core Concepts (compact): AnimationTree owns an AnimationPlayer via anim_player; root is StateMachine / BlendTree / BlendSpace; parameters use relative "parameters/..." paths; set active = true once in _ready.

gdscript
@onready var anim_tree: AnimationTree = $AnimationTree
@onready var playback: AnimationNodeStateMachinePlayback = anim_tree.get("parameters/StateMachine/playback")

func _ready() -> void:
    anim_tree.active = true

Do not paste full StateMachine/BlendSpace editor walkthroughs — author graphs in the AnimationTree editor, then drive them with the scripts above.


Expert insights (WHY — keep in body)

  • Advance conditions vs travel — WHY: bool conditions auto-fire transitions; travel() is explicit pathing. Use conditions for damage/death events; travel for locomotion intent.
  • BlendSpace2D cost — WHY: 8-way blending samples multiple clips. Use BlendSpace1D for speed-only; Blend2 for two-state crossfades.
  • Parameter guard — WHY: redundant set() invalidates tree cache every frame. Route writes through sync_parameter_manager.gd.
  • Method tracks — WHY: gameplay should listen to dispatcher signals, not parse animation names. See animation_event_dispatcher.gd.

Deep recipes (on demand)

TopicReference / script
StateMachine / BlendSpace editor recipesstatemachine-and-blendspace.md
Nested combat / IK / root motionadvanced-graph-recipes.md

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing work to a peer domain — do not preload the whole lattice.

Official Documentation

  • Using AnimationTree — Canonical BlendTree / StateMachine / BlendSpace graph workflow that drives an AnimationPlayer without calling play() yourself.
  • Introduction to the animation features — When to graduate from AnimationPlayer-only clips to an AnimationTree for blending, travel, and layered presentation.
  • Animation track types — Method and value tracks that fire gameplay events (footsteps, hitboxes) from clips the tree is already blending.
  • AnimationTree — active, tree_root, anim_player, root-motion getters, and the parameters/* path contract used throughout this skill.
  • AnimationNodeStateMachine — Authoring nested locomotion/combat graphs and wiring transitions before code calls travel().
  • AnimationNodeStateMachinePlayback — Runtime travel(), start(), get_current_node(), and travel-path inspection for code-driven state changes.
  • AnimationNodeStateMachineTransition — Advance conditions, auto_advance, Sync, xfade, and priority rules that prevent sticky or immediate unwanted transitions.
  • AnimationNodeBlendSpace2D — Directional strafe/aim blending via blend_position (use BlendSpace1D when only speed is needed).
  • AnimationNodeBlendTree — Layered Add2/Blend2/OneShot graphs for upper-body aim, combat overlays, and filter masks.
  • AnimationNodeOneShot — FIRE/ABORT request enum for recoil, hitreact, and other high-priority non-looping overlays.
  • AnimationNodeTimeScale — Per-subtree playback speed for haste, stun, and bullet-time without mutating Engine.time_scale.
  • LookAtModifier3D — Skeleton look-at driven beside the tree; see migration-notes.md for relative default change.

Related Skills

Prerequisites
  • godot-animation-player — AnimationTree owns playback of clips authored on AnimationPlayer; track layout and ownership must be correct before blending.
  • godot-input-handling — Stick/keyboard vectors and actions that feed blend_position, advance conditions, and travel targets each physics frame.
  • godot-signal-architecture — Safe wiring for method-track dispatchers and animation-finished style signals without lifecycle leaks.
Complements
  • godot-2d-animation — Sheet/cutout and 2D locomotion presentation that still uses AnimationTree BlendSpaces or simple travel graphs.
  • godot-state-machine-advanced — Gameplay FSMs that should own intent while AnimationTree owns presentation travel and blends.
  • godot-physics-3d — CharacterBody3D / move_and_slide integration for AnimationTree root-motion extraction.
  • godot-characterbody-2d — Fixed-timestep 2D locomotion inputs that drive StateMachine travel and BlendSpace positions.
  • godot-tweening — Tweening TimeScale or blend amounts when bullet-time and combat mix ramps should be interruptible.
  • godot-combat-system — Hitreact/combo layers that consume OneShot requests, upper-body Add2 masks, and nested combat sub-machines.
  • godot-debugging-profiling — Profiling and logging discipline when validating travel paths, blend values, and off-screen active culling.
Downstream / consumers
  • godot-genre-action-rpg — Locomotion + combat stance trees and ability cast OneShots built on these graph patterns.
  • godot-genre-fighting — Frame-sensitive combo auto-advance and masked upper-body attacks depend on transition and BlendTree discipline here.
  • godot-genre-shooter-fps — Aim/reload overlays, recoil OneShots, and look-at modifiers layered over locomotion BlendSpaces.
Master
  • godot-master — Library router and mirrored module entry for cross-skill discovery.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Godot Animation Tree Mastery?

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.

Warum Godot Animation Tree Mastery in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Godot Animation Tree Mastery besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Godot Animation Tree Mastery in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/thedivergentai/GD-Agentic-Skills/tree/main/skills/godot-animation-tree-mastery ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Godot Animation Tree Mastery nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Godot Animation Tree Mastery verwenden?

So viele Sie möchten. In TypingMind können Sie Godot Animation Tree Mastery mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Godot Animation Tree Mastery kostenlos?

Ja. Der Skill wird von thedivergentai auf GitHub unter der Lizenz LGPL-3.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇