Logo: Scenario Unity Animation

Scenario Unity Animation

Organisatioun
scenario-labs
scenario-unity-animation

Use when a Unity 6.3 task involves character animation or cameras: Mixamo or mocap humanoid import and retargeting, Animator Controllers, blend trees, layers and avatar masks, root motion, foot sliding, IK and Animation Rigging, Playables, Timeline cutscenes, custom tracks and markers, Cinemachine 3 cameras, camera jitter, flipping blends or cameras hitting walls; or when clips import with no animation, a character T-poses, an idle drifts, feet slide or the head misses its aim target.

Iwwersiicht

Editeurscenario-labs
Repositoryskills
Skill-Nummscenario-unity-animation
Stären
970
Forks
114
Matgeliwwert Dateien
23
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 23 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    scenario-labs huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Scenario Unity Animation an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/scenario-labs/skills/tree/main/skills/game-engines/unity/scenario-unity-animation
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scenario-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/game-engines/unity/scenario-unity-animation .claude/skills/scenario-unity-animation
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Scenario Unity Animation an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Scenario Unity Animation automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Scenario Unity Animation net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Unity animation (animator and technical animator)

Expert animation work in Unity is ordering and measurement: which layer, constraint, transition or camera wins is decided by list order, and whether feet, aim and blends are right is decided by numbers taken from the clips. An agent without the Animator, Timeline or Scene windows builds everything from data (AnimatorController, TimelineAsset, Cinemachine and Rigging components), steps it deterministically, measures it, and looks at contact sheets. Target: Unity 6000.3.21f1, Cinemachine 3.1.7, Animation Rigging 1.4.1, Timeline 1.8.12. If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add scenario-labs/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

REQUIRED BACKGROUND: scenario-unity-expert (channels, review loop, 6.3 traps). Toolkit: scripts/ut_animation.py and C# jobs in scripts/AgentKit/Animation/ (namespace AgentKit.Animation), runtime code in scripts/Runtime/. Install with ut_animation.install(P).

Stance (the expert delta)

  1. Order is behavior, everywhere. Lower Animator layers win (iHeartGameDev, W0eRZGS6dhQ [00:05:04]); additive stops at the first Override [00:09:46]; transitions are uninterruptible by default, and with Ordered Interruption only transitions above the running one cut in, ties to list order (Catherine Proulx, Unity blog; measured: her None, ordered, unordered and same-frame cases reproduce). An interruption blends from a frozen snapshot pose (measured: 0 deg/s bone motion on the interruption frame): keep interrupting transitions short [added inference]. Rig constraints solve depth-first, spine before head or hand (Code Monkey, luBBz5oeR4Q [00:06:20]; measured head error 0.0 vs 17.9 deg).
  2. Blend-tree coordinates are gameplay units. Children at measured averageSpeed / averageAngularSpeed, not 0 / 0.5 / 1 (_J8RPIaO2Lc [00:16:30]); clamp the runtime parameter to the children's extents, or the edge pose holds while speed keeps rising [frame 00:13:38]. Script speed that disagrees with the clip slides the feet (Ketra Games, mNxEetKzc04 [00:00:32]; measured slide p50 0.19 vs 1.14 m/s).
  3. Idle is its own state when its pose differs from the walk (no exit time on IsMoving), the tree starting at a slow walk (mNxEetKzc04 [00:08:54]). Idle at the tree origin is fine only for in-place clips driven by script speed (_J8RPIaO2Lc [00:04:24]).
  4. Root motion is decided per clip and per axis (6.3 Manual): idle bakes rotation, Y and XZ; straight locomotion bakes rotation and Y; turns keep rotation; height-changing clips leave Y unbaked with Based Upon Feet, so blends do not float and a scripted jump does not add the clip's hip rise twice. Based Upon never causes drift: a baked axis has zero delta whatever it says; it only picks where the pose sits. Original keeps the file's facing and position (Ketra bakes Mixamo idles that way, no drift); Body Orientation re-centers mocap segments (measured over 30 s: both 0 m drift, Original faced 88 deg away and stood 2.43 m off; XZ unbaked drifted 0.246 m). One CharacterController.Move(deltaPosition + y) in OnAnimatorMove, never deltaPosition * Time.deltaTime [00:07:21]. Animator.gravityWeight is 1 on Y-baked clips, 0 on Y-unbaked ones, blended across transitions (Manual; measured, and 0 everywhere with root motion off).
  5. Automate import from one reference, scoped to a folder (git-amend, V9_Z6hUOG_8): rig in OnPreprocessModel, clips in OnPreprocessAnimation, GetVersion() bumped on rule changes, never a reimport inside the callbacks. Roles come from file names or rules, never take names: every Mixamo take is "mixamo.com". Reference FBX sub-asset clips; a clip duplicated before the Humanoid switch keeps bone paths (BEZHVYk6Fa4 [00:12:03]; measured: it moved the humanoid 0.0 deg, the post-switch copy 40.1 deg). Copy From Other on a different hierarchy imports zero clips, reported only in the import log (observed). Translation DoF is off by default [00:02:21].
  6. Masks make layers; reference poses make additive layers. An Override layer without a mask replaces the whole body; an additive clip only works over its authored base pose (W0eRZGS6dhQ [00:05:33], [00:09:57]). Masks at import drop fingers and IK goals a clip does not need (Manual, cost).
  7. Cameras: one Brain, move targets, pick the rig by game type (Unity CM3.1 series). Smart Update plus Late Update blends first on jitter (Brain doc). Third Person Follow for over-the-shoulder; FreeLook plus Camera Offset plus Deoccluder fight (u0a1F6BlczE [00:02:41]). A procedural Position Control overrides animation; never parent one to a mover (XTVzs4B1d7I [00:03:10]). Cameras on opposite sides blend through the target: CylindricalPosition hint (measured: none 0.5 m and up dot 0.0, Cylindrical 5.02 m and 0.995, IgnoreTarget alone still 0.5 m) [00:13:32]. Deoccluder: Ignore Tag the player, glass on Transparent Layers; triggers never count (measured). Timeline overrides the Brain: priority is ignored until it stops (measured in Play mode).
  8. Timeline: tracks for continuous actions, markers for instants, Signals when there is no payload (Ciro Continisio, gsEe0_o_934 [00:18:53]). A receiver gets every notification routed to it: type-check [frame 00:22:57]. Mixers run while scrubbing; spawn in OnGraphStart, destroy after [00:45:30].

Establish first

Platform and frame budget (performance hands off numbers); 3D skeletal vs 2D sprites (sprites go to scenario-unity-2d); rig type (Humanoid for retargeting and Mixamo, Generic when one skeleton and cost matter; Generic root motion works through the Root Node); root motion (player feet quality) vs in-place (NavMesh AI, tight speed control); content source: Mixamo (FBX for Unity, 30 fps, keyframe reduction none, same Mixamo character, Without Skin for clips; root motion: In Place off, Character Arm Space raised; mNxEetKzc04 [00:03:04], _J8RPIaO2Lc [00:01:24]), mocap takes to split, DCC; camera style; CM2 already in the project?; cutscene length and branching. Defaults: Humanoid, root motion for the player, CM 3.1.7, 30 fps Timeline, Input System.

Workflow

  1. Packages. AnimPackages.Add with ["com.unity.cinemachine@3.1.7", "com.unity.animation.rigging@1.4.1"] (async, quit=False), then ua.install(P). GATE: ua.pinned_packages(P) all ok.
  2. Import. ua.default_rules("Hero.fbx", files) -> AnimImport.ImportDrop (rules JSON, character first, masks, heals hierarchy mismatches). Split takes with AnimSampler.ClipProfile. GATE: audit counts.error == 0, avatar valid and human, every clip human_motion, no anim.role_fallback, an FBX outside the folder still Generic; AnimImport.AuditClips no anim.generic_duplicate.
  3. Controller. Spec -> AnimControllerBuilder.Build (masks, layers, auto tree positions, transitions with interruption settings, hash class). GATE: counts.error == 0; positions equal measured speeds; ua.blend_tree_checks(tree, param_ranges) clean; urgent exits proven with ua.interruption_probe_spec-style events in SampleStates.
  4. Sample and look. AnimSampler.SampleStates (Rebind, fixed Animator.Update; events, trace, per-sample clip/controller), LocomotionMetrics (clip for one clip alone). GATE: expected states; masked bones 0.000 deg; ground speed within 5 %; slide p50 < 0.25 m/s; idle 30 s drift < 1 cm; gravityWeight 0 through Y-unbaked clips (root motion on); sheet opened.
  5. Rigging. AnimRigging.BuildAimRig then AuditRigs. GATE: head < 1 deg, hand < 1 cm, no rig.solve_order, frame looked at; one target moved, never rebound (rig.runtime_rebind); rig weight fades as the target goes behind (Htl7ysv10Qs [00:07:54], a Play-mode sample of Rig.weight).
  6. Cameras. AnimCinemachine.SetupCameras (rigs, blend_hint, deoccluder), AuditCameras, CameraProbe (Manual Update; obstacles, occlusion linecast, series). GATE: live camera per event; ua.camera_probe_checks empty (no flip, no swing-through, no occluded or inside-geometry frames); ua.jitter_metrics reversal < 5 % [added]; audit 0 warn.
  7. Timeline. AnimTimeline.BuildCutscene, SampleCutscene (scrub, frames), PlayCutscene (Play mode: markers, signals, live camera, handback), AuditTimeline. GATE: bindings; numeric blends; no root snap; markers and signals once; audit 0 warn; after the end the Brain's priority camera is live.
  8. Proof and code. AnimProcedural.RootMotionPlay (one Move per frame), ua.scan_csharp(Assets) clean, numbers to scenario-unity-performance.

Procedures with full code and recorded results: references/procedures.md.

Numbers

ValueRelative toSource
Clamp(0.1 x length, 0.1 s, 0.5 x length)one-shot blend; blend out at length minus blendfQzKJO-0dS8 [00:07:58]
0.7 aim / 0.3 lookchest weight under a hand aim / a head lookluBBz5oeR4Q [00:06:53]; Htl7ysv10Qs [00:08:59]
-100..100 deghead aim limits, fade weight behindHtl7ysv10Qs [00:06:58]
Min 1 s, Wait 0State-Driven camera against flickering statesu0a1F6BlczE [00:09:32]
primary 2, fallback 1ClearShot prioritiesu0a1F6BlczE [00:14:53]
30 fps, keyframe reduction noneMixamo download_J8RPIaO2Lc [00:01:24]
T < sqrt(4 k2 + k1^2) - k1second-order stabilityKPoeNZZ6H4s [00:12:29]
1.08 / 3.51 m/s, -98 / +77 deg/sWalk, Jog, turns of Unity's sample mocapobserved
0 m vs 0.246 m30 s idle drift, XZ baked vs unbakedobserved
0.5 m vs 5.02 mclosest camera approach, no hint vs Cylindricalobserved

Quality gates

  • Measurable: import audit and AuditClips clean; controller audit; mask check; speed within 5 %; slide p50; idle drift; rig errors; camera probe checks and jitter; Timeline bindings, events, audit; one Move per frame; C# scan.
  • Visual: a contact sheet per stage judged with references/critique.md (T-pose, feet in the floor, arms through the body, snaps, camera flips, framing); ut_review flags none.

Common mistakes

MistakeWhat it looks likeFix
sampling with Culling Mode not Always Animatebatch captures show the bind posethe sampler forces Always Animate (observed)
flags chosen from take namesevery Mixamo clip gets the same loop and bake flagsroles from file names or rules; rename clips
unscoped import processorevery FBX in the project turns Humanoida rules file or an assetPath guard; ua.scan_csharp
jump clip with root Y bakedfloats in blends; hip rise added to the scripted jumpY unbaked, Based Upon Feet
.anim duplicated before the Humanoid switchthe clip plays on no humanoidre-duplicate after, or reference the FBX clip
Copy From Other on a different hierarchyFBX imports with no clips, console silentread the import log; own avatar per file (observed)
Based Upon blamed for driftidle slides away over loopsbake XZ; Based Upon only places the pose
parameter past the tree extentsspeed rises, animation does notclamp to the children
head constraint above the chesthead misses its targetbody first in sibling order
cameras on opposite sides, no hintblend dives through the head and flipsCylindricalPosition on both
glass or triggers treated as wallscamera jumps in front of windowsTransparent Layers; triggers are ignored
priority raised during a cutscenenothing changes until it endsTimeline owns the Brain
Priority set from an editor scriptBrain keeps the old cameracam.Prioritize() (observed)
scrubbing to test markers or the handbackno marker fires; last shot stays livePlayCutscene (observed)
OnNotify without a type checkreacts to every markerif (n is MyMarker m)
Optimize Game Objects applied earlyscene instance vanishesapply late, before shipping (BEZHVYk6Fa4 [00:07:22])

More agent traps (GUID moves on archive, one class per file, ?? on Unity objects, Play-mode reads): references/procedures.md.

Handoffs

  • Receives: character FBX and clips from scenario-blender-expert, scenario-maya-expert or scenario-3d; input actions from scenario-unity-architecture; locomotion speeds, NavMesh agents and gameplay events from scenario-unity-gameplay; import-pipeline conventions from scenario-unity-pipeline-automation.
  • Delivers: to scenario-unity-gameplay the controller, parameter contract (Speed m/s, TurnRate deg/s, IsMoving, Jump), hash class, root-motion mover (vertical source); to scenario-unity-rendering-lighting camera cuts (reset temporal effects on Camera Cut) and Timeline light tracks; to scenario-unity-performance Animator counts, culling modes, import masks, Optimize Game Objects late; to scenario-unity-vfx Signals and Activation tracks. Packet: project, jobs, audit JSON, sheets, metrics, Verified and Assumed lists.

Unity 6.3 notes

  • The 6000.3.21f1 manifest lists Cinemachine 2.10.7; a bare Client.Add resolved 3.1.7 (observed): pin anyway. CM3 is Unity.Cinemachine, CinemachineCamera plus components; CM2 upgrade = retype to CinemachineVirtualCameraBase, then Upgrade Entire Project (no Undo). In 6.6 CM3, Timeline and Animation Rigging become core.
  • Timeline 1.8: editorSettings.frameRate. 6.3 adds Animator.ResetControllerState. Obsolete ModelImporter members become errors in 6.5.
  • Templates run the Input System only; entering Play mode reloads the domain (Play-mode jobs switch it off for the run).

References

  • references/expert-notes.md: principles and judgment by expert, with source and timestamp.
  • references/procedures.md: every job with args, the Unity calls behind it, live test and result.
  • references/critique.md: the rubric to judge rigs, blends, feet, cameras and cutscenes.
  • references/gui-paths.md: windows and menus for the same work.
  • references/sources.md: every source, credential, URL, best timestamps, revision history.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Scenario Unity Animation?

Use when a Unity 6.3 task involves character animation or cameras: Mixamo or mocap humanoid import and retargeting, Animator Controllers, blend trees, layers and avatar masks, root motion, foot sliding, IK and Animation Rigging, Playables, Timeline cutscenes, custom tracks and markers, Cinemachine 3 cameras, camera jitter, flipping blends or cameras hitting walls; or when clips import with no animation, a character T-poses, an idle drifts, feet slide or the head misses its aim target.

Firwat Scenario Unity Animation op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Scenario Unity Animation besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Scenario Unity Animation an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/scenario-labs/skills/tree/main/skills/game-engines/unity/scenario-unity-animation an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Scenario Unity Animation benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Scenario Unity Animation benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Scenario Unity Animation domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Scenario Unity Animation gratis?

Jo. scenario-labs huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇