[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CMGPCPS08T723K6TAWPRBW":3,"skill-same:01M7CMGPCPS08T723K6TAWPRBW":146},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7CMGPCPS08T723K6TAWPRBW","unity-animation",null,"Animator in 2D and 3D: stuck or self-playing states, sliding feet, blend trees, IK, root motion.","tipoLi5890\u002Funity-dev-skills","tipoLi5890","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F177803612?v=4","01M7CMD7DHGZ09CB53CRFHAA34","Li, ching yu","01M7CMD7E70K5RAHWWZVYX9YMG",2,"MIT","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: unity-animation\ndescription: >-\n  Animator in 2D and 3D: stuck or self-playing states, sliding feet, blend\n  trees, IK, root motion.\n---\n\n# unity-animation — the game's state is the truth, and the Animator renders it\n\n> **An Animator is a state machine, and the game already has one.** Every \"stuck in the jump\",\n> \"attack played twice\", \"hitbox stayed on\" report is the two disagreeing. They cannot disagree\n> when one of them is a copy: the game owns the state, one bridge writes it into parameters\n> once per frame, and nothing in gameplay waits on an animation unless a **named** event says so.\n\n## Symptom → where to look\n\n| The report | Go to |\n|---|---|\n| \"the animation is stuck\", stuck in the jump, a renamed parameter froze the character | *The contract*, `reference\u002Fparameter-contract.md` |\n| \"the attack plays by itself\" later | `reference\u002Fparameter-contract.md` (triggers) |\n| \"the feet slide\", feet floating on slopes | `reference\u002Fblend-trees.md`, `reference\u002Fik-and-rigging.md`, `reference\u002Fsim-driven-animation.md` §4–6 |\n| \"the swing contact is late\", a simulation owns the character | `reference\u002Fsim-driven-animation.md` |\n| \"a knee pops\", the prop misses at contact | `reference\u002Ffoot-lock-and-prop-ik.md`, measured by `reference\u002Fmotion-metrics.md` |\n| \"the sprite flickers between directions\", a 2D jump shows late | `reference\u002Fsprite-state-graph.md` |\n| \"the hitbox stays on\", footsteps fire twice | `reference\u002Fevents-and-windows.md` |\n| Moves twice or slides back each loop | `reference\u002Froot-motion.md` |\n| A cutscene never gives the character back | `reference\u002Ftimeline.md` |\n| Starting values for fades, damping, windows, IK, gates | `reference\u002Fnumbers.md` |\n| Anything else | *Load what the situation needs* |\n\nThe same contract serves a 3D Humanoid and a 2D frame-clip character. What differs is how the\npicture is allowed to follow:\n\n| | 3D skeletal | 2D frame clips |\n|---|---|---|\n| A state change shows | Over a 0.08–0.15 s cross-fade | On the same frame: duration 0, no exit time |\n| Two clips at once | Blend by weight | The heavier one supplies the frame — a switch |\n| Facing | The transform's rotation | `SpriteRenderer.flipX`, or one clip per direction |\n| Pose correction | IK after the clip | None — offsets go on a `Visual` child |\n| Who moves the transform | One owner, chosen once (`reference\u002Froot-motion.md`) | The game, always |\n---\n\n## The contract\n\n| Rule | Looks like | Broken when |\n|---|---|---|\n| **One writer per parameter** | A bridge beside the Animator: reads the game, writes every parameter in `Update` | `SetBool` \u002F `SetTrigger` appears in an input handler, a hazard, a UI button |\n| **Gameplay never reads the Animator** | Decisions use the game's own flags and timers | `GetCurrentAnimatorStateInfo(0).IsName(\"Attack\")` guards a gameplay branch |\n| **Only named moments cross back** | An AnimationEvent, an attack window, a Timeline signal — each with a game-side fallback | A coroutine waits `clip.length` seconds; a hit resolves \"when the swing looks right\" |\n\nA trigger is the usual first breach. It is a bool the Animator clears **only when a transition\nconsumes it**: set where no transition can take it, it waits — a frame or ten seconds — and\nfires on its own later. Raise instants through Any State, or use a Bool the bridge derives from\ngame state. → `reference\u002Fparameter-contract.md`\n\n---\n\n## Start here\n\n1. **Audit what exists.** `AnimatorParamAudit.Json(controller)` lists every parameter, where\n   the graph reads it and which scripts write it. Fix every verdict that is not `ok` before\n   touching a transition.\n2. **Write the bridge.** One component, hashed ids, every parameter every frame, a check at\n   `Awake` that each id exists in the controller. → `reference\u002Fparameter-contract.md` §3\n3. **Build the graph from script**, so its numbers match the numbers the bridge writes.\n   3D: `unity-rigged-character` → `reference\u002Feditor-scripts.md` builds the locomotion\n   controller (`Grounded`, `MoveBlend`, `MoveSpeed`, `Hurt`); add directional trees with\n   `DirectionalBlendTreeBuilder`. 2D: `SpriteStateGraphBuilder`. Both report first.\n4. **Mark the moments the game listens for** — events with `ClipEventWriter`, spans with\n   `AttackWindowBehaviour` — and give each a game-side fallback.\n5. **Prove it.** `templates\u002FAnimatorStateJourneyTest.cs` samples `animState` beside the game's\n   `state` and fails when they disagree for more than 3 frames.\n\n**When a simulation owns the character** (it decides where the character is and when the swing\nconnects), skip the Controller: one hand-built `PlayableGraph` per character, evaluated by hand\nfrom the render tick, clip times computed from the simulation's clock, and Animation Jobs after\nthe mixer. → `reference\u002Fsim-driven-animation.md`, then `reference\u002Ffoot-lock-and-prop-ik.md`,\nproven by `reference\u002Fmotion-metrics.md`. Every file under `resources\u002F`, what it does and where\nto copy it: `reference\u002Ftoolkit.md`.\n\n---\n\n## Load what the situation needs\n\n| The situation | Read |\n|---|---|\n| A parameter two scripts set; \"the attack plays by itself later\"; a blend that snaps; a renamed parameter that froze the character | `reference\u002Fparameter-contract.md` |\n| Strafe or walk\u002Frun trees; a 4-way or 8-way sprite set; feet sliding on in-place clips; a tree whose time stops | `reference\u002Fblend-trees.md` |\n| A 2D character's jump shows late; the hurt clip freezes on frame 0; the sprite flickers between facings; flipX versus directional clips | `reference\u002Fsprite-state-graph.md` |\n| Footsteps fire twice; an event never arrives; the hitbox stays on after a hit interrupts the swing; events on a clip inside a model | `reference\u002Fevents-and-windows.md` |\n| The hitbox an attack window opens: one swing, one damage event | `unity-combat` → `reference\u002Fattack-windows.md` |\n| Weapon sets or skins on one graph; \"swapping the controller reset the character\" | `reference\u002Foverride-controllers.md` |\n| `OnAnimatorIK` never called; feet floating on slopes; a hand that must reach a switch; whether Animation Rigging is worth adding | `reference\u002Fik-and-rigging.md` |\n| A simulation decides position and contact time; the swing contact is early or late; a replay poses differently; a Generic rig that needs IK | `reference\u002Fsim-driven-animation.md` |\n| Feet skate when the character runs faster than any clip; the swing starts while still sliding to a stop; the body slides sideways at contact | `reference\u002Fsim-driven-animation.md` §4–6 |\n| A knee pops when the foot lock releases; the knee flips as the leg straightens; the foot stops dead on landing; the racket (prop) misses the ball or pops at the IK window's edges | `reference\u002Ffoot-lock-and-prop-ik.md` |\n| \"It looks better\" with no number; a pop count that does not match what the video shows; a flaky motion gate; measurements skewed by hitches or screenshots | `reference\u002Fmotion-metrics.md` |\n| A cutscene takes the character and the game never gets it back; signals; skipping | `reference\u002Ftimeline.md` |\n| Animates on the spot, moves twice, or slides back each loop; a Rigidbody under root motion | `reference\u002Froot-motion.md` |\n| Import, Avatar, Humanoid versus Generic, Mixamo clips, the locomotion controller itself | `unity-rigged-character` → `reference\u002Feditor-scripts.md` |\n| Turning a frame set into a clip; pivots and ground line; the one end-of-clip event | `unity-2d-sprites` → `reference\u002Fsprite-animation.md` |\n| An agent and an Animator both moving one character; a head tracking the path | `unity-navigation` → `reference\u002Frecipes.md` |\n| The probe, the recorder, running the journey headless | `unity-play-harness` → `reference\u002Fjourneys.md` |\n| The bridge for a 2D character: facing, grounded and speed read from the motor | `unity-2d-controller` → `reference\u002Ffacing-and-animator-bridge.md` |\n| The bridge for a 3D character: grounded, gait and speed read from the mover | `unity-3d-controller` → `reference\u002Fanimator-bridge.md` |\n| Where the bridge's inputs come from — the input struct the game reads | `unity-input` |\n| The camera that follows the character, and jitter between its clock and the Animator's | `unity-camera` |\n| Which movement model the game uses, and so which rows above apply | `unity-gameplay` |\n\n---\n\n## Discipline\n\n- **The bridge writes every parameter every frame.** A value set on change goes stale the first\n  time the Animator is disabled, pooled or has its controller swapped; a value written each\n  frame heals on the next one.\n- **Hash once, check once.** `Animator.StringToHash` in a `static readonly int`, and an `Awake`\n  loop over `animator.parameters` that logs an error for an id the controller lacks. A missing\n  parameter is otherwise a warning and a frozen character.\n- **A trigger is for an instant the graph can take now.** Anything that can be raised where no\n  transition reads it is a Bool derived from state, or is reset when the state ends.\n- **No exit time on a transition the game causes.** Exit time is for a clip finishing on its\n  own; on a jump or a hit it is up to one full cycle of delay.\n- **List the narrow transition first.** A state's transitions are tried in order and the first\n  whose conditions hold wins.\n- **Any State with a held Bool needs `canTransitionToSelf = false`**, or the state re-enters\n  every evaluation and sits on its first frame.\n- **Whatever an event opens, a StateMachineBehaviour or the game closes.** An event at 55% never\n  fires when the state is left at 40%; `OnStateExit` runs however the state is left.\n- **Filter events by weight.** Every clip above zero weight fires its events — both children of\n  a blend, both sides of a cross-fade. Read `AnimationEvent.animatorClipInfo.weight`.\n- **Normalised time for windows, game time for rules.** \"Open at 25% of the swing\" survives a\n  retimed clip; \"invulnerable for 0.4 s\" is a game timer.\n- **One owner of the transform.** Root motion, a mover, an agent and a Rigidbody are four\n  candidates; pick one and make the others listeners. An empty `OnAnimatorMove` is an owner that\n  moves nothing.\n- **IK weights and rig weights are parameters too.** The bridge writes them from game state; a\n  foot that decides for itself from a raycast is a second opinion about `Grounded`.\n- **Report before an Editor tool writes**; wait for a yes, then read the asset back\n  (`Describe`), not the exit code.\n- **Check the package before the `using`.** Read `Packages\u002Fpackages-lock.json` for\n  `com.unity.animation.rigging`, `com.unity.timeline` or `com.unity.2d.animation` before writing\n  code against them.\n- **IK targets and weights are continuous in velocity, not only in position** — a weight that\n  snaps to 0 is a one-frame pop; use a damped spring (`reference\u002Ffoot-lock-and-prop-ik.md` §1).\n- **Measure before fixing motion**: baseline first, each pop attributed to a layer\n  (`reference\u002Fmotion-metrics.md`).\n- **Sample the shown state, do not eyeball it.** `animState` in the probe beside `state` turns\n  \"the jump looks late\" into a count of frames.\n\n## Scope — what this skill does NOT do\n\nEvery row of *Load what the situation needs* that names another skill — import and Avatars,\nframes into clips, agents, input, camera, the movement model, journeys — is that skill's work.\n\n| Not here | Go to |\n|---|---|\n| Rigging and skinning a character that has no skeleton yet | `blender-character-rig` |\n| Retargeting stock or purchased clips onto a rig in Blender, before they reach Unity | `blender-retarget` |\n| Clips made from video, feet locked offline, before they reach Unity | `humanoid-motion` |\n| Bones, skinning weights, PSB rigs, Sprite Library and 2D IK on a sprite | `unity-2d-animation` |\n| Generating the sprite frames or the sheet in the first place | `codex-visual` |\n| A hitbox trigger that never fires once the window is open | `unity-physics-3d` · `unity-physics-2d` |\n| Playing the footstep or the swing sound an event asks for | `unity-game-feel` (`SfxPlayer`) |\n| Running tests headless, screenshots, trusting a result file | `unity-debug` |\n| Animator cost on a crowd: culling modes measured, not guessed | `unity-profiling` |\n| The simulation's mover — its speed, acceleration and the predicted stop the swing waits for | `unity-3d-controller` |\n","# unity-animation — the game's state is the truth, and the Animator renders it\n\n> **An Animator is a state machine, and the game already has one.** Every \"stuck in the jump\",\n> \"attack played twice\", \"hitbox stayed on\" report is the two disagreeing. They cannot disagree\n> when one of them is a copy: the game owns the state, one bridge writes it into parameters\n> once per frame, and nothing in gameplay waits on an animation unless a **named** event says so.\n\n## Symptom → where to look\n\n| The report | Go to |\n|---|---|\n| \"the animation is stuck\", stuck in the jump, a renamed parameter froze the character | *The contract*, `reference\u002Fparameter-contract.md` |\n| \"the attack plays by itself\" later | `reference\u002Fparameter-contract.md` (triggers) |\n| \"the feet slide\", feet floating on slopes | `reference\u002Fblend-trees.md`, `reference\u002Fik-and-rigging.md`, `reference\u002Fsim-driven-animation.md` §4–6 |\n| \"the swing contact is late\", a simulation owns the character | `reference\u002Fsim-driven-animation.md` |\n| \"a knee pops\", the prop misses at contact | `reference\u002Ffoot-lock-and-prop-ik.md`, measured by `reference\u002Fmotion-metrics.md` |\n| \"the sprite flickers between directions\", a 2D jump shows late | `reference\u002Fsprite-state-graph.md` |\n| \"the hitbox stays on\", footsteps fire twice | `reference\u002Fevents-and-windows.md` |\n| Moves twice or slides back each loop | `reference\u002Froot-motion.md` |\n| A cutscene never gives the character back | `reference\u002Ftimeline.md` |\n| Starting values for fades, damping, windows, IK, gates | `reference\u002Fnumbers.md` |\n| Anything else | *Load what the situation needs* |\n\nThe same contract serves a 3D Humanoid and a 2D frame-clip character. What differs is how the\npicture is allowed to follow:\n\n| | 3D skeletal | 2D frame clips |\n|---|---|---|\n| A state change shows | Over a 0.08–0.15 s cross-fade | On the same frame: duration 0, no exit time |\n| Two clips at once | Blend by weight | The heavier one supplies the frame — a switch |\n| Facing | The transform's rotation | `SpriteRenderer.flipX`, or one clip per direction |\n| Pose correction | IK after the clip | None — offsets go on a `Visual` child |\n| Who moves the transform | One owner, chosen once (`reference\u002Froot-motion.md`) | The game, always |\n---\n\n## The contract\n\n| Rule | Looks like | Broken when |\n|---|---|---|\n| **One writer per parameter** | A bridge beside the Animator: reads the game, writes every parameter in `Update` | `SetBool` \u002F `SetTrigger` appears in an input handler, a hazard, a UI button |\n| **Gameplay never reads the Animator** | Decisions use the game's own flags and timers | `GetCurrentAnimatorStateInfo(0).IsName(\"Attack\")` guards a gameplay branch |\n| **Only named moments cross back** | An AnimationEvent, an attack window, a Timeline signal — each with a game-side fallback | A coroutine waits `clip.length` seconds; a hit resolves \"when the swing looks right\" |\n\nA trigger is the usual first breach. It is a bool the Animator clears **only when a transition\nconsumes it**: set where no transition can take it, it waits — a frame or ten seconds — and\nfires on its own later. Raise instants through Any State, or use a Bool the bridge derives from\ngame state. → `reference\u002Fparameter-contract.md`\n\n---\n\n## Start here\n\n1. **Audit what exists.** `AnimatorParamAudit.Json(controller)` lists every parameter, where\n   the graph reads it and which scripts write it. Fix every verdict that is not `ok` before\n   touching a transition.\n2. **Write the bridge.** One component, hashed ids, every parameter every frame, a check at\n   `Awake` that each id exists in the controller. → `reference\u002Fparameter-contract.md` §3\n3. **Build the graph from script**, so its numbers match the numbers the bridge writes.\n   3D: `unity-rigged-character` → `reference\u002Feditor-scripts.md` builds the locomotion\n   controller (`Grounded`, `MoveBlend`, `MoveSpeed`, `Hurt`); add directional trees with\n   `DirectionalBlendTreeBuilder`. 2D: `SpriteStateGraphBuilder`. Both report first.\n4. **Mark the moments the game listens for** — events with `ClipEventWriter`, spans with\n   `AttackWindowBehaviour` — and give each a game-side fallback.\n5. **Prove it.** `templates\u002FAnimatorStateJourneyTest.cs` samples `animState` beside the game's\n   `state` and fails when they disagree for more than 3 frames.\n\n**When a simulation owns the character** (it decides where the character is and when the swing\nconnects), skip the Controller: one hand-built `PlayableGraph` per character, evaluated by hand\nfrom the render tick, clip times computed from the simulation's clock, and Animation Jobs after\nthe mixer. → `reference\u002Fsim-driven-animation.md`, then `reference\u002Ffoot-lock-and-prop-ik.md`,\nproven by `reference\u002Fmotion-metrics.md`. Every file under `resources\u002F`, what it does and where\nto copy it: `reference\u002Ftoolkit.md`.\n\n---\n\n## Load what the situation needs\n\n| The situation | Read |\n|---|---|\n| A parameter two scripts set; \"the attack plays by itself later\"; a blend that snaps; a renamed parameter that froze the character | `reference\u002Fparameter-contract.md` |\n| Strafe or walk\u002Frun trees; a 4-way or 8-way sprite set; feet sliding on in-place clips; a tree whose time stops | `reference\u002Fblend-trees.md` |\n| A 2D character's jump shows late; the hurt clip freezes on frame 0; the sprite flickers between facings; flipX versus directional clips | `reference\u002Fsprite-state-graph.md` |\n| Footsteps fire twice; an event never arrives; the hitbox stays on after a hit interrupts the swing; events on a clip inside a model | `reference\u002Fevents-and-windows.md` |\n| The hitbox an attack window opens: one swing, one damage event | `unity-combat` → `reference\u002Fattack-windows.md` |\n| Weapon sets or skins on one graph; \"swapping the controller reset the character\" | `reference\u002Foverride-controllers.md` |\n| `OnAnimatorIK` never called; feet floating on slopes; a hand that must reach a switch; whether Animation Rigging is worth adding | `reference\u002Fik-and-rigging.md` |\n| A simulation decides position and contact time; the swing contact is early or late; a replay poses differently; a Generic rig that needs IK | `reference\u002Fsim-driven-animation.md` |\n| Feet skate when the character runs faster than any clip; the swing starts while still sliding to a stop; the body slides sideways at contact | `reference\u002Fsim-driven-animation.md` §4–6 |\n| A knee pops when the foot lock releases; the knee flips as the leg straightens; the foot stops dead on landing; the racket (prop) misses the ball or pops at the IK window's edges | `reference\u002Ffoot-lock-and-prop-ik.md` |\n| \"It looks better\" with no number; a pop count that does not match what the video shows; a flaky motion gate; measurements skewed by hitches or screenshots | `reference\u002Fmotion-metrics.md` |\n| A cutscene takes the character and the game never gets it back; signals; skipping | `reference\u002Ftimeline.md` |\n| Animates on the spot, moves twice, or slides back each loop; a Rigidbody under root motion | `reference\u002Froot-motion.md` |\n| Import, Avatar, Humanoid versus Generic, Mixamo clips, the locomotion controller itself | `unity-rigged-character` → `reference\u002Feditor-scripts.md` |\n| Turning a frame set into a clip; pivots and ground line; the one end-of-clip event | `unity-2d-sprites` → `reference\u002Fsprite-animation.md` |\n| An agent and an Animator both moving one character; a head tracking the path | `unity-navigation` → `reference\u002Frecipes.md` |\n| The probe, the recorder, running the journey headless | `unity-play-harness` → `reference\u002Fjourneys.md` |\n| The bridge for a 2D character: facing, grounded and speed read from the motor | `unity-2d-controller` → `reference\u002Ffacing-and-animator-bridge.md` |\n| The bridge for a 3D character: grounded, gait and speed read from the mover | `unity-3d-controller` → `reference\u002Fanimator-bridge.md` |\n| Where the bridge's inputs come from — the input struct the game reads | `unity-input` |\n| The camera that follows the character, and jitter between its clock and the Animator's | `unity-camera` |\n| Which movement model the game uses, and so which rows above apply | `unity-gameplay` |\n\n---\n\n## Discipline\n\n- **The bridge writes every parameter every frame.** A value set on change goes stale the first\n  time the Animator is disabled, pooled or has its controller swapped; a value written each\n  frame heals on the next one.\n- **Hash once, check once.** `Animator.StringToHash` in a `static readonly int`, and an `Awake`\n  loop over `animator.parameters` that logs an error for an id the controller lacks. A missing\n  parameter is otherwise a warning and a frozen character.\n- **A trigger is for an instant the graph can take now.** Anything that can be raised where no\n  transition reads it is a Bool derived from state, or is reset when the state ends.\n- **No exit time on a transition the game causes.** Exit time is for a clip finishing on its\n  own; on a jump or a hit it is up to one full cycle of delay.\n- **List the narrow transition first.** A state's transitions are tried in order and the first\n  whose conditions hold wins.\n- **Any State with a held Bool needs `canTransitionToSelf = false`**, or the state re-enters\n  every evaluation and sits on its first frame.\n- **Whatever an event opens, a StateMachineBehaviour or the game closes.** An event at 55% never\n  fires when the state is left at 40%; `OnStateExit` runs however the state is left.\n- **Filter events by weight.** Every clip above zero weight fires its events — both children of\n  a blend, both sides of a cross-fade. Read `AnimationEvent.animatorClipInfo.weight`.\n- **Normalised time for windows, game time for rules.** \"Open at 25% of the swing\" survives a\n  retimed clip; \"invulnerable for 0.4 s\" is a game timer.\n- **One owner of the transform.** Root motion, a mover, an agent and a Rigidbody are four\n  candidates; pick one and make the others listeners. An empty `OnAnimatorMove` is an owner that\n  moves nothing.\n- **IK weights and rig weights are parameters too.** The bridge writes them from game state; a\n  foot that decides for itself from a raycast is a second opinion about `Grounded`.\n- **Report before an Editor tool writes**; wait for a yes, then read the asset back\n  (`Describe`), not the exit code.\n- **Check the package before the `using`.** Read `Packages\u002Fpackages-lock.json` for\n  `com.unity.animation.rigging`, `com.unity.timeline` or `com.unity.2d.animation` before writing\n  code against them.\n- **IK targets and weights are continuous in velocity, not only in position** — a weight that\n  snaps to 0 is a one-frame pop; use a damped spring (`reference\u002Ffoot-lock-and-prop-ik.md` §1).\n- **Measure before fixing motion**: baseline first, each pop attributed to a layer\n  (`reference\u002Fmotion-metrics.md`).\n- **Sample the shown state, do not eyeball it.** `animState` in the probe beside `state` turns\n  \"the jump looks late\" into a count of frames.\n\n## Scope — what this skill does NOT do\n\nEvery row of *Load what the situation needs* that names another skill — import and Avatars,\nframes into clips, agents, input, camera, the movement model, journeys — is that skill's work.\n\n| Not here | Go to |\n|---|---|\n| Rigging and skinning a character that has no skeleton yet | `blender-character-rig` |\n| Retargeting stock or purchased clips onto a rig in Blender, before they reach Unity | `blender-retarget` |\n| Clips made from video, feet locked offline, before they reach Unity | `humanoid-motion` |\n| Bones, skinning weights, PSB rigs, Sprite Library and 2D IK on a sprite | `unity-2d-animation` |\n| Generating the sprite frames or the sheet in the first place | `codex-visual` |\n| A hitbox trigger that never fires once the window is open | `unity-physics-3d` · `unity-physics-2d` |\n| Playing the footstep or the swing sound an event asks for | `unity-game-feel` (`SfxPlayer`) |\n| Running tests headless, screenshots, trusting a result file | `unity-debug` |\n| Animator cost on a crowd: culling modes measured, not guessed | `unity-profiling` |\n| The simulation's mover — its speed, acceleration and the predicted stop the swing waits for | `unity-3d-controller` |\n",{"name":5,"description":7},"main","b7459aa49fb881c5abb764223674ec8f397a02b1","skills\u002Funity-animation",0,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills","https:\u002F\u002Fgithub.com\u002FtipoLi5890","https:\u002F\u002Ftipoli5890.github.io\u002F","2026-11-10 09:16:41",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add tipoLi5890\u002Funity-dev-skills --skill unity-animation",{"tool":38,"command":39},"bunx","bunx skills add tipoLi5890\u002Funity-dev-skills --skill unity-animation",{"tool":41,"command":42},"pnpm","pnpm dlx skills add tipoLi5890\u002Funity-dev-skills --skill unity-animation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84,88,92,96,100,106,110,114,118,122,126,130,134,138,142],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"reference\u002Fblend-trees.md","REFERENCE","参考文档",9001,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Fblend-trees.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"reference\u002Fevents-and-windows.md",9725,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Fevents-and-windows.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"reference\u002Ffoot-lock-and-prop-ik.md",13859,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Ffoot-lock-and-prop-ik.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"reference\u002Fik-and-rigging.md",9432,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Fik-and-rigging.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"reference\u002Fmotion-metrics.md",12806,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Fmotion-metrics.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"reference\u002Fnumbers.md",1411,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Fnumbers.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"reference\u002Foverride-controllers.md",6976,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Foverride-controllers.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"reference\u002Fparameter-contract.md",8318,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Fparameter-contract.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"reference\u002Froot-motion.md",6434,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Froot-motion.md",{"path":85,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":86,"sourceHtmlUrl":87},"reference\u002Fsim-driven-animation.md",12837,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Fsim-driven-animation.md",{"path":89,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":90,"sourceHtmlUrl":91},"reference\u002Fsprite-state-graph.md",8205,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Fsprite-state-graph.md",{"path":93,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":94,"sourceHtmlUrl":95},"reference\u002Ftimeline.md",7370,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Ftimeline.md",{"path":97,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":98,"sourceHtmlUrl":99},"reference\u002Ftoolkit.md",1979,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Freference\u002Ftoolkit.md",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"resources\u002FAnimJobMath.cs","OTHER","其他",11344,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FAnimJobMath.cs",{"path":107,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":108,"sourceHtmlUrl":109},"resources\u002FAttackWindowBehaviour.cs",4956,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FAttackWindowBehaviour.cs",{"path":111,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":112,"sourceHtmlUrl":113},"resources\u002FEditor\u002FAnimatorParamAudit.cs",12334,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FEditor\u002FAnimatorParamAudit.cs",{"path":115,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":116,"sourceHtmlUrl":117},"resources\u002FEditor\u002FClipEventWriter.cs",10618,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FEditor\u002FClipEventWriter.cs",{"path":119,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":120,"sourceHtmlUrl":121},"resources\u002FEditor\u002FDirectionalBlendTreeBuilder.cs",14695,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FEditor\u002FDirectionalBlendTreeBuilder.cs",{"path":123,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":124,"sourceHtmlUrl":125},"resources\u002FEditor\u002FSpriteStateGraphBuilder.cs",13475,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FEditor\u002FSpriteStateGraphBuilder.cs",{"path":127,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":128,"sourceHtmlUrl":129},"resources\u002FFootIK.cs",4795,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FFootIK.cs",{"path":131,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":132,"sourceHtmlUrl":133},"resources\u002FFootLockJob.cs",17466,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FFootLockJob.cs",{"path":135,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":136,"sourceHtmlUrl":137},"resources\u002FMotionMetricsSampler.cs",11124,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FMotionMetricsSampler.cs",{"path":139,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":140,"sourceHtmlUrl":141},"resources\u002FTwoBoneIKJob.cs",4904,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Fresources\u002FTwoBoneIKJob.cs",{"path":143,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":144,"sourceHtmlUrl":145},"templates\u002FAnimatorStateJourneyTest.cs",14503,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-animation\u002Ftemplates\u002FAnimatorStateJourneyTest.cs",[147,154,161,168,175,182],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":19},"01M7CMNYXQNW14ST64EYEEZ5V5","unity-web-release","Ship a WebGL\u002FWebGPU build: shrink the download, Brotli server headers, Safari and iPhone memory.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-web-release\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":19},"01M7CMNTHD1EA70CCJ2F9FN3HT","unity-vivox","Vivox voice and text chat: channels, positional voice, mute and push-to-talk, mic permission.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-vivox\u002FSKILL.md",[],[],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":19},"01M7CMNPHPRQZ7K1FES2953DRQ","unity-urp-migration","Migrate a Built-in project to URP, or fix a half-moved one: pink materials, PPv2, old shaders.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-urp-migration\u002FSKILL.md",[],[],{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":19},"01M7CMNJ756DK4V0D50HMAZYQW","unity-ui-ugui","Canvas UI (uGUI): CanvasScaler, RectTransform anchors, Layout Groups, ScrollView, UI built from C#.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-ui-ugui\u002FSKILL.md",[],[],{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":19},"01M7CMNDESZN79EK5FRDXCA2WA","unity-ui-toolkit","UI Toolkit (UXML, USS, UIDocument): flex layout, binding, custom elements, editor windows.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-ui-toolkit\u002FSKILL.md",[],[],{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":19},"01M7CMN8GBV07K0YCY07BJ6A1W","unity-ugs","Unity Gaming Services API: which package, init and sign-in order, Cloud Save, Cloud Code, Remote Config.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-ugs\u002FSKILL.md",[],[]]