[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CMGXSKEV0BH4026EC4VYN0":3,"skill-same:01M7CMGXSKEV0BH4026EC4VYN0":104},{"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},"01M7CMGXSKEV0BH4026EC4VYN0","unity-camera",null,"Cinemachine game cameras: follow, confiner, orbit, first person, shake; jitter and wall clipping.","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-camera\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: unity-camera\ndescription: >-\n  Cinemachine game cameras: follow, confiner, orbit, first person, shake;\n  jitter and wall clipping.\n---\n\n# unity-camera — a jittering camera is two clocks disagreeing\n\n> **Camera jitter is almost never a damping value.** The target moves on one clock — the\n> physics step — and the camera eases on another — the rendered frame — and at 60 frames against\n> 50 steps a second, one frame in six has no step in it. No amount of smoothing removes a beat\n> between two clocks; putting both on one clock removes it completely. Find the two clocks\n> before touching a number.\n\n## Symptom → where to look (first match wins)\n\n| Symptom | Go to |\n|---|---|\n| A component the tutorial names does not exist; `CS0246` on a Cinemachine type | §0 |\n| The camera or the player jitters, shivers or stutters while moving | §1 |\n| The camera pans across the level after a respawn or a door | §1 — a teleport is a cut |\n| The camera freezes, or a blend stops half way, while the game is paused | §1 — time scale |\n| The view doubled, or the field of view changed, when the rig was added | §2 — the lens belongs to the rig now |\n| The camera shows outside the level; the confiner does nothing | §2 |\n| The confiner is wrong after a zoom, or after the room's outline was edited | §2 — two caches |\n| The camera slides through a wall between two rooms | §2 — room to room |\n| Which rig for a side view, a runner, a top down or an isometric game | §2 |\n| Pixel art shimmers, or the size pops, under a follow camera | §3 |\n| Which rig for third person, first person or fixed cameras | §4 |\n| The camera clips through walls, or pumps in and out along one | §4 — deocclusion |\n| The stick does not turn the camera; look input is dead during a blend | §4 — input axes |\n| Lock on to an enemy | §4 — a second target |\n| Shake does nothing, or ten small shakes add up to one huge one | §5 |\n| The camera cuts where it should blend, or drifts after a cutscene | §5 |\n| A court or pitch sport: broadcast framing, follow, between-point and end moves | `reference\u002Fbroadcast-sports.md` |\n| \"It looks fine to me\" — proving a rig holds every frame | §6 |\n\n## 0. Read the lock before naming a component\n\nCinemachine 2.x and 3.x share a package id and almost no component names. Read\n`Packages\u002Fpackages-lock.json` for `com.unity.cinemachine` first:\n\n| The lock says | The camera component | Namespace | Asmdef reference |\n|---|---|---|---|\n| `2.x` | `CinemachineVirtualCamera`, fields prefixed `m_` | `Cinemachine` | `Cinemachine` |\n| `3.x` | `CinemachineCamera`, plain fields | `Unity.Cinemachine` | `Unity.Cinemachine` |\n\n- **An add with no version on Unity 6 resolves 2.10.7.** 3.x is always an explicit pin:\n  `\"com.unity.cinemachine\": \"3.1.7\"` in `Packages\u002Fmanifest.json`.\n- **Everything shipped here is written for 3.x** and says so in its `REQUIRES` line. A 2.x project\n  follows the same recipes through the name table: `reference\u002Fversion-and-names.md`.\n- **Body and Aim became Position Control and Rotation Control**, and the components moved from\n  a hidden child onto the camera's own GameObject: `AddComponent\u003CT>()`.\n- **3.x still compiles the 2.x names**, marked `[Obsolete]`: `CS0618` naming\n  `CinemachineVirtualCamera` means the rig is on the compatibility layer.\n\nEvery recipe is one rig: the output `Camera` with a `CinemachineBrain` at the scene root, never\nparented to the player, and `CinemachineCamera` objects with tracking targets; the Brain shows the\nenabled one with the highest `Priority`. `resources\u002FEditor\u002FCameraRigBuilder.cs`\n(`Tools\u002FUnity Dev\u002FCamera\u002F`) builds 2D follow, third-person and fixed rigs, reporting first.\n\n## 1. Jitter: find the two clocks\n\n| What moves | Its clock |\n|---|---|\n| A `Transform` written in `Update`; `CharacterController.Move` from `Update` | Rendered frame |\n| A `Rigidbody` \u002F `Rigidbody2D`, interpolation `None` | Physics step |\n| A `Rigidbody` \u002F `Rigidbody2D`, interpolation `Interpolate` | Rendered frame |\n| A `Transform` written in `FixedUpdate` with no body | Physics step, and nothing can interpolate it |\n| The Cinemachine camera | Whichever the Brain's `UpdateMethod` puts it on |\n\nWork down; stop at the first that applies.\n\n1. **The followed body has interpolation `None`** → set `Interpolate` (one property, one step of\n   visual latency on that body). The fix in most projects.\n2. **The Brain was forced off `SmartUpdate`**, which puts each camera on its target's clock.\n3. **One Transform has two writers** (physics and an `Update` script) → jitter in bursts.\n4. **A hand-written follow runs in `FixedUpdate`, or before the player moved** → `LateUpdate`,\n   damped with `Time.deltaTime`.\n5. **The offset measures smooth and still looks wrong** → not a clock: look-ahead noise, a pixel\n   snap (§3), the deoccluder (§4), or an uneven frame time.\n\n**A teleport has to be announced.** A damped camera cannot tell a respawn from a very fast run,\nso it pans across the level. `CinemachineCore.OnTargetObjectWarped(target, delta)` carries the\ncamera with the target; `vcam.PreviousStateIsValid = false` makes the next frame a cut.\n\n**At `timeScale` 0 the camera gets a delta of zero.** Damping freezes and blends stop.\n`CinemachineBrain.IgnoreTimeScale` is the pause-menu setting, and it also makes the camera ignore\nslow motion.\n\nEvery pair of clocks with its symptom and fix, the three teleport calls, and the pause table:\n`reference\u002Fupdate-order-and-jitter.md`. Measure before and after with §6.\n\n## 2. 2D rigs: side follow, runner, top down, isometric\n\nAll four are one rig — an orthographic `Camera`, a `CinemachineCamera` with rotation identity, a\n`CinemachinePositionComposer`, and usually a `CinemachineConfiner2D` — with different numbers.\n\n| Game | Screen position | Dead zone | Damping (x, y) | Look-ahead |\n|---|---|---|---|---|\n| Side view platformer | (−0.15, −0.1) | 0.10 × 0.15 | 0.5, 0.3 | 0.25 s, ignore Y |\n| Auto-runner, side | (−0.25, −0.1) | 0 × 0.15 | 0, 0.3 | Off — the offset is the look-ahead |\n| Top down | (0, 0) | 0.08 × 0.08 | 0.3, 0.3 | 0.15 s |\n| Isometric on a cell grid | (0, 0) | 0.08 × 0.08 | 0.2, 0.2 | Off |\n\n- **Screen position 0 is the centre in 3.x** (0.5 in 2.x). **A new `CinemachineCamera` carries\n  its own lens** — orthographic size 10, field of view 40 — and overwrites the `Camera`'s.\n- **Turn hard limits on**: damping is a preference, the hard limit keeps the player on screen.\n- **`CinemachineConfiner2D` takes a Box, Polygon or Composite collider only**, and does nothing\n  until `BoundingShapeIsBaked`. `InvalidateBoundingShapeCache()` after the outline changes,\n  `InvalidateLensCache()` after any zoom.\n- **Room to room: one camera per room, switched by priority**; `resources\u002FRoomConfinerSwitch.cs`\n  is the one-camera alternative. **The lane run tracks an anchor** at 35 % of the runner's\n  sideways offset. **Orthographic size is half the view height**: hold a width with `W \u002F (2 × aspect)`.\n\nWorld-unit conversions, the cache table, both room recipes, the anchor script, 3D top down and\nisometric angles, and zoom: `reference\u002Ffollow-2d.md`.\n\n## 3. Pixel-perfect follow\n\nA pixel-perfect camera and Cinemachine both write orthographic size every frame. **Add the\n`CinemachinePixelPerfect` extension to every Cinemachine camera that can go live**, on the\ncamera's own object. One camera without it breaks the shot it owns, because once the extension\nhas been used the pixel camera stops writing the size itself.\n\n- The extension compiles to an empty component unless the project has URP or\n  `com.unity.2d.pixel-perfect` 2.0.3 or newer. Read the lock.\n- Legal sizes are the pixel camera's size divided by whole numbers. A smooth zoom arrives as\n  steps; a blend between two sizes is not pixel-perfect while it runs.\n- Damping makes the camera and the sprite round to the pixel grid on different frames: a\n  one-pixel wobble with a perfectly smooth offset. Zero damping on the axis of travel is the\n  default for pixel art.\n\nThe four checks, the size table and the damping options: `reference\u002Fpixel-perfect-follow.md`.\nThe pixel camera component itself is `unity-2d-pixel-perfect`.\n\n## 4. 3D rigs: orbit, shoulder, lock on, first person, fixed\n\n| Rig | Position Control | Rotation Control | Also |\n|---|---|---|---|\n| Third-person orbit | `CinemachineOrbitalFollow` | `CinemachineRotationComposer` | `CinemachineInputAxisController`, `CinemachineDeoccluder` |\n| Over the shoulder | `CinemachineThirdPersonFollow` | None — it turns with the target | `CinemachineThirdPersonAim` |\n| First person | `CinemachineHardLockToTarget` on a head pivot | `CinemachinePanTilt` | `CinemachineInputAxisController` |\n| Fixed post | None | None, or `CinemachineRotationComposer` to turn and track | Priority switching |\n\n- **Track a pivot at chest height** (or a target offset of (0, 1.5, 0)) — the root is at the feet.\n- **`Reset()` does not run for components added from code in play mode** (orbit radius 10, not 5;\n  obstacle avoidance off): assign every field.\n- **`CinemachineDeoccluder` keeps the target visible; `CinemachineDecollider` only keeps the\n  camera out of geometry.** Ignore the runner's tag, 0.1 s minimum occlusion, 0.2 s smoothing.\n- **Lock on is a second, higher-priority camera** framing a target group of runner and sentry.\n- **First person: the camera owns the look angles, the body copies the yaw**; no damping.\n- **Fixed cameras: movement stays relative to the camera live when the stick was pushed.**\n- **Look input** goes through `CinemachineInputAxisController`, or the game writes the axis from\n  its input struct.\n\nComponent tables, the deoccluder settings, the lock-on rig, first-person rules, switching by\ntrigger, and the input controller: `reference\u002Ffollow-3d.md`.\n\n## 5. Shake and blends\n\n- **A source needs a listener**: `CinemachineImpulseSource` on the cause, a\n  `CinemachineImpulseListener` on every camera that reacts.\n- **Budget first**: ≤ 3 % of view height, 0.1–0.3 s, three named tiers, `UseLargest`, and a\n  player slider on the listener's gain.\n- **Shake is applied after the confiner** and reads scaled time.\n- **The default blend is 2 s.** Set 0.4 s for gameplay, and name the cuts in the Brain's custom\n  blends — which match cameras by name.\n- **A Timeline hands back cleanly when its last shot is the gameplay camera**, with the camera\n  state reset if the runner moved.\n\nThe definition and listener tables, blend hints, the activation event and the hand-off:\n`reference\u002Fshake-and-blends.md`. Building the Timeline is `unity-animation`.\n\n## 6. Prove the rig holds\n\n`resources\u002FCameraProbe.cs` puts `camViewport`, `camInBounds` and `camOffset` on the probe every\nframe; `templates\u002FCameraJourneyTest.cs` records 600 frames of a side-run room and asserts them;\n`scripts\u002Fcamera_jitter.py` counts sign changes in the offset (limit 0.1). **Break it once**\n(`CAMERA_JOURNEY_BREAK=confiner`, `=clocks`) before a green run means anything. Keys, command\nand numbers: `reference\u002Fprove-the-rig.md`. Framing and shake feel stay a person's judgement.\n\n## Scope — what this skill does NOT do\n\n| Not here | Go to |\n|---|---|\n| The pixel-perfect camera component, reference resolution, import settings | `unity-2d-pixel-perfect` |\n| Input actions, control schemes, pointer and stick aim, rebinding | `unity-input` |\n| Which perspective and movement model the game's constraints imply | `unity-gameplay` |\n| Which game event triggers a shake or a hit stop, and how strongly; the impulse itself stays here | `unity-game-feel` |\n| The 3D character the camera follows: its controller, view-relative movement | `unity-3d-controller` |\n| The probe, situations, journeys and the timeline format · Timeline, Animator, root motion | `unity-play-harness` · `unity-animation` |\n| Why a body does not move, or a cast misses the wall | `unity-physics-3d` · `unity-physics-2d` |\n| Parallax, sorting layers, draw order · room bounds as level data | `unity-2d-rendering` · `unity-2d-level` |\n| Post-processing, renderer features, the 2D renderer | `unity-render-urp` |\n| Uneven frame time, GC spikes · adding and pinning packages, asmdef layout | `unity-profiling` · `unity-new-project` |\n| Running tests headless, reading a windowed capture | `unity-debug` |\n","# unity-camera — a jittering camera is two clocks disagreeing\n\n> **Camera jitter is almost never a damping value.** The target moves on one clock — the\n> physics step — and the camera eases on another — the rendered frame — and at 60 frames against\n> 50 steps a second, one frame in six has no step in it. No amount of smoothing removes a beat\n> between two clocks; putting both on one clock removes it completely. Find the two clocks\n> before touching a number.\n\n## Symptom → where to look (first match wins)\n\n| Symptom | Go to |\n|---|---|\n| A component the tutorial names does not exist; `CS0246` on a Cinemachine type | §0 |\n| The camera or the player jitters, shivers or stutters while moving | §1 |\n| The camera pans across the level after a respawn or a door | §1 — a teleport is a cut |\n| The camera freezes, or a blend stops half way, while the game is paused | §1 — time scale |\n| The view doubled, or the field of view changed, when the rig was added | §2 — the lens belongs to the rig now |\n| The camera shows outside the level; the confiner does nothing | §2 |\n| The confiner is wrong after a zoom, or after the room's outline was edited | §2 — two caches |\n| The camera slides through a wall between two rooms | §2 — room to room |\n| Which rig for a side view, a runner, a top down or an isometric game | §2 |\n| Pixel art shimmers, or the size pops, under a follow camera | §3 |\n| Which rig for third person, first person or fixed cameras | §4 |\n| The camera clips through walls, or pumps in and out along one | §4 — deocclusion |\n| The stick does not turn the camera; look input is dead during a blend | §4 — input axes |\n| Lock on to an enemy | §4 — a second target |\n| Shake does nothing, or ten small shakes add up to one huge one | §5 |\n| The camera cuts where it should blend, or drifts after a cutscene | §5 |\n| A court or pitch sport: broadcast framing, follow, between-point and end moves | `reference\u002Fbroadcast-sports.md` |\n| \"It looks fine to me\" — proving a rig holds every frame | §6 |\n\n## 0. Read the lock before naming a component\n\nCinemachine 2.x and 3.x share a package id and almost no component names. Read\n`Packages\u002Fpackages-lock.json` for `com.unity.cinemachine` first:\n\n| The lock says | The camera component | Namespace | Asmdef reference |\n|---|---|---|---|\n| `2.x` | `CinemachineVirtualCamera`, fields prefixed `m_` | `Cinemachine` | `Cinemachine` |\n| `3.x` | `CinemachineCamera`, plain fields | `Unity.Cinemachine` | `Unity.Cinemachine` |\n\n- **An add with no version on Unity 6 resolves 2.10.7.** 3.x is always an explicit pin:\n  `\"com.unity.cinemachine\": \"3.1.7\"` in `Packages\u002Fmanifest.json`.\n- **Everything shipped here is written for 3.x** and says so in its `REQUIRES` line. A 2.x project\n  follows the same recipes through the name table: `reference\u002Fversion-and-names.md`.\n- **Body and Aim became Position Control and Rotation Control**, and the components moved from\n  a hidden child onto the camera's own GameObject: `AddComponent\u003CT>()`.\n- **3.x still compiles the 2.x names**, marked `[Obsolete]`: `CS0618` naming\n  `CinemachineVirtualCamera` means the rig is on the compatibility layer.\n\nEvery recipe is one rig: the output `Camera` with a `CinemachineBrain` at the scene root, never\nparented to the player, and `CinemachineCamera` objects with tracking targets; the Brain shows the\nenabled one with the highest `Priority`. `resources\u002FEditor\u002FCameraRigBuilder.cs`\n(`Tools\u002FUnity Dev\u002FCamera\u002F`) builds 2D follow, third-person and fixed rigs, reporting first.\n\n## 1. Jitter: find the two clocks\n\n| What moves | Its clock |\n|---|---|\n| A `Transform` written in `Update`; `CharacterController.Move` from `Update` | Rendered frame |\n| A `Rigidbody` \u002F `Rigidbody2D`, interpolation `None` | Physics step |\n| A `Rigidbody` \u002F `Rigidbody2D`, interpolation `Interpolate` | Rendered frame |\n| A `Transform` written in `FixedUpdate` with no body | Physics step, and nothing can interpolate it |\n| The Cinemachine camera | Whichever the Brain's `UpdateMethod` puts it on |\n\nWork down; stop at the first that applies.\n\n1. **The followed body has interpolation `None`** → set `Interpolate` (one property, one step of\n   visual latency on that body). The fix in most projects.\n2. **The Brain was forced off `SmartUpdate`**, which puts each camera on its target's clock.\n3. **One Transform has two writers** (physics and an `Update` script) → jitter in bursts.\n4. **A hand-written follow runs in `FixedUpdate`, or before the player moved** → `LateUpdate`,\n   damped with `Time.deltaTime`.\n5. **The offset measures smooth and still looks wrong** → not a clock: look-ahead noise, a pixel\n   snap (§3), the deoccluder (§4), or an uneven frame time.\n\n**A teleport has to be announced.** A damped camera cannot tell a respawn from a very fast run,\nso it pans across the level. `CinemachineCore.OnTargetObjectWarped(target, delta)` carries the\ncamera with the target; `vcam.PreviousStateIsValid = false` makes the next frame a cut.\n\n**At `timeScale` 0 the camera gets a delta of zero.** Damping freezes and blends stop.\n`CinemachineBrain.IgnoreTimeScale` is the pause-menu setting, and it also makes the camera ignore\nslow motion.\n\nEvery pair of clocks with its symptom and fix, the three teleport calls, and the pause table:\n`reference\u002Fupdate-order-and-jitter.md`. Measure before and after with §6.\n\n## 2. 2D rigs: side follow, runner, top down, isometric\n\nAll four are one rig — an orthographic `Camera`, a `CinemachineCamera` with rotation identity, a\n`CinemachinePositionComposer`, and usually a `CinemachineConfiner2D` — with different numbers.\n\n| Game | Screen position | Dead zone | Damping (x, y) | Look-ahead |\n|---|---|---|---|---|\n| Side view platformer | (−0.15, −0.1) | 0.10 × 0.15 | 0.5, 0.3 | 0.25 s, ignore Y |\n| Auto-runner, side | (−0.25, −0.1) | 0 × 0.15 | 0, 0.3 | Off — the offset is the look-ahead |\n| Top down | (0, 0) | 0.08 × 0.08 | 0.3, 0.3 | 0.15 s |\n| Isometric on a cell grid | (0, 0) | 0.08 × 0.08 | 0.2, 0.2 | Off |\n\n- **Screen position 0 is the centre in 3.x** (0.5 in 2.x). **A new `CinemachineCamera` carries\n  its own lens** — orthographic size 10, field of view 40 — and overwrites the `Camera`'s.\n- **Turn hard limits on**: damping is a preference, the hard limit keeps the player on screen.\n- **`CinemachineConfiner2D` takes a Box, Polygon or Composite collider only**, and does nothing\n  until `BoundingShapeIsBaked`. `InvalidateBoundingShapeCache()` after the outline changes,\n  `InvalidateLensCache()` after any zoom.\n- **Room to room: one camera per room, switched by priority**; `resources\u002FRoomConfinerSwitch.cs`\n  is the one-camera alternative. **The lane run tracks an anchor** at 35 % of the runner's\n  sideways offset. **Orthographic size is half the view height**: hold a width with `W \u002F (2 × aspect)`.\n\nWorld-unit conversions, the cache table, both room recipes, the anchor script, 3D top down and\nisometric angles, and zoom: `reference\u002Ffollow-2d.md`.\n\n## 3. Pixel-perfect follow\n\nA pixel-perfect camera and Cinemachine both write orthographic size every frame. **Add the\n`CinemachinePixelPerfect` extension to every Cinemachine camera that can go live**, on the\ncamera's own object. One camera without it breaks the shot it owns, because once the extension\nhas been used the pixel camera stops writing the size itself.\n\n- The extension compiles to an empty component unless the project has URP or\n  `com.unity.2d.pixel-perfect` 2.0.3 or newer. Read the lock.\n- Legal sizes are the pixel camera's size divided by whole numbers. A smooth zoom arrives as\n  steps; a blend between two sizes is not pixel-perfect while it runs.\n- Damping makes the camera and the sprite round to the pixel grid on different frames: a\n  one-pixel wobble with a perfectly smooth offset. Zero damping on the axis of travel is the\n  default for pixel art.\n\nThe four checks, the size table and the damping options: `reference\u002Fpixel-perfect-follow.md`.\nThe pixel camera component itself is `unity-2d-pixel-perfect`.\n\n## 4. 3D rigs: orbit, shoulder, lock on, first person, fixed\n\n| Rig | Position Control | Rotation Control | Also |\n|---|---|---|---|\n| Third-person orbit | `CinemachineOrbitalFollow` | `CinemachineRotationComposer` | `CinemachineInputAxisController`, `CinemachineDeoccluder` |\n| Over the shoulder | `CinemachineThirdPersonFollow` | None — it turns with the target | `CinemachineThirdPersonAim` |\n| First person | `CinemachineHardLockToTarget` on a head pivot | `CinemachinePanTilt` | `CinemachineInputAxisController` |\n| Fixed post | None | None, or `CinemachineRotationComposer` to turn and track | Priority switching |\n\n- **Track a pivot at chest height** (or a target offset of (0, 1.5, 0)) — the root is at the feet.\n- **`Reset()` does not run for components added from code in play mode** (orbit radius 10, not 5;\n  obstacle avoidance off): assign every field.\n- **`CinemachineDeoccluder` keeps the target visible; `CinemachineDecollider` only keeps the\n  camera out of geometry.** Ignore the runner's tag, 0.1 s minimum occlusion, 0.2 s smoothing.\n- **Lock on is a second, higher-priority camera** framing a target group of runner and sentry.\n- **First person: the camera owns the look angles, the body copies the yaw**; no damping.\n- **Fixed cameras: movement stays relative to the camera live when the stick was pushed.**\n- **Look input** goes through `CinemachineInputAxisController`, or the game writes the axis from\n  its input struct.\n\nComponent tables, the deoccluder settings, the lock-on rig, first-person rules, switching by\ntrigger, and the input controller: `reference\u002Ffollow-3d.md`.\n\n## 5. Shake and blends\n\n- **A source needs a listener**: `CinemachineImpulseSource` on the cause, a\n  `CinemachineImpulseListener` on every camera that reacts.\n- **Budget first**: ≤ 3 % of view height, 0.1–0.3 s, three named tiers, `UseLargest`, and a\n  player slider on the listener's gain.\n- **Shake is applied after the confiner** and reads scaled time.\n- **The default blend is 2 s.** Set 0.4 s for gameplay, and name the cuts in the Brain's custom\n  blends — which match cameras by name.\n- **A Timeline hands back cleanly when its last shot is the gameplay camera**, with the camera\n  state reset if the runner moved.\n\nThe definition and listener tables, blend hints, the activation event and the hand-off:\n`reference\u002Fshake-and-blends.md`. Building the Timeline is `unity-animation`.\n\n## 6. Prove the rig holds\n\n`resources\u002FCameraProbe.cs` puts `camViewport`, `camInBounds` and `camOffset` on the probe every\nframe; `templates\u002FCameraJourneyTest.cs` records 600 frames of a side-run room and asserts them;\n`scripts\u002Fcamera_jitter.py` counts sign changes in the offset (limit 0.1). **Break it once**\n(`CAMERA_JOURNEY_BREAK=confiner`, `=clocks`) before a green run means anything. Keys, command\nand numbers: `reference\u002Fprove-the-rig.md`. Framing and shake feel stay a person's judgement.\n\n## Scope — what this skill does NOT do\n\n| Not here | Go to |\n|---|---|\n| The pixel-perfect camera component, reference resolution, import settings | `unity-2d-pixel-perfect` |\n| Input actions, control schemes, pointer and stick aim, rebinding | `unity-input` |\n| Which perspective and movement model the game's constraints imply | `unity-gameplay` |\n| Which game event triggers a shake or a hit stop, and how strongly; the impulse itself stays here | `unity-game-feel` |\n| The 3D character the camera follows: its controller, view-relative movement | `unity-3d-controller` |\n| The probe, situations, journeys and the timeline format · Timeline, Animator, root motion | `unity-play-harness` · `unity-animation` |\n| Why a body does not move, or a cast misses the wall | `unity-physics-3d` · `unity-physics-2d` |\n| Parallax, sorting layers, draw order · room bounds as level data | `unity-2d-rendering` · `unity-2d-level` |\n| Post-processing, renderer features, the 2D renderer | `unity-render-urp` |\n| Uneven frame time, GC spikes · adding and pinning packages, asmdef layout | `unity-profiling` · `unity-new-project` |\n| Running tests headless, reading a windowed capture | `unity-debug` |\n",{"name":5,"description":7},"main","b7459aa49fb881c5abb764223674ec8f397a02b1","skills\u002Funity-camera",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-camera",{"tool":38,"command":39},"bunx","bunx skills add tipoLi5890\u002Funity-dev-skills --skill unity-camera",{"tool":41,"command":42},"pnpm","pnpm dlx skills add tipoLi5890\u002Funity-dev-skills --skill unity-camera","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,86,90,94,100],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"reference\u002Fbroadcast-sports.md","REFERENCE","参考文档",5559,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Freference\u002Fbroadcast-sports.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"reference\u002Ffollow-2d.md",13268,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Freference\u002Ffollow-2d.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"reference\u002Ffollow-3d.md",13612,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Freference\u002Ffollow-3d.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"reference\u002Fpixel-perfect-follow.md",7796,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Freference\u002Fpixel-perfect-follow.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"reference\u002Fprove-the-rig.md",1229,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Freference\u002Fprove-the-rig.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"reference\u002Fshake-and-blends.md",9089,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Freference\u002Fshake-and-blends.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"reference\u002Fupdate-order-and-jitter.md",12059,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Freference\u002Fupdate-order-and-jitter.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"reference\u002Fversion-and-names.md",13070,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Freference\u002Fversion-and-names.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"resources\u002FCameraProbe.cs","OTHER","其他",7679,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Fresources\u002FCameraProbe.cs",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"resources\u002FEditor\u002FCameraRigBuilder.cs",13407,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Fresources\u002FEditor\u002FCameraRigBuilder.cs",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"resources\u002FRoomConfinerSwitch.cs",3634,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Fresources\u002FRoomConfinerSwitch.cs",{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fcamera_jitter.py","SCRIPT","脚本",16001,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Fscripts\u002Fcamera_jitter.py",{"path":101,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":102,"sourceHtmlUrl":103},"templates\u002FCameraJourneyTest.cs",11171,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-camera\u002Ftemplates\u002FCameraJourneyTest.cs",[105,112,119,126,133,140],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"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":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"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":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"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":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"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":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"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":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"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",[],[]]