unity-cinemachine

Create and configure Cinemachine virtual cameras in Unity scenes.

8|1|Updated Oct 7, 2025
One-click install
npx skills add https://github.com/Zzulin/unity-project01 --skill unity-cinemachine-zzulin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-cinemachine
Source: https://github.com/Zzulin/unity-project01/tree/main/URP1/Plugins/Unity-Skills-main/SkillsForUnity/unity-skills~/skills/cinemachine
Command: npx skills add https://github.com/Zzulin/unity-project01 --skill unity-cinemachine-zzulin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cinemachine configuration and runtime camera control in Unity involve many manual steps across different versions and components, which slows down scene setup and iteration for cinematics and gameplay cameras.

Core Features & Use Cases

  • Create and configure virtual cameras: Programmatically create VCams, Mixing, Clear Shot, and State Driven cameras and set their hierarchy and priorities.
  • Targeting and rig control: Assign Follow and LookAt targets, manage TargetGroups, set spline dollies, and configure freelook or orbital rigs.
  • Pipeline and lens management: Modify pipeline components (Body/Aim/Noise), adjust lens settings, generate impulse events, and list available component types for automation.
  • Use Case: Automate the creation of a cinematic camera rig that follows the player, applies a dolly spline, and tweaks lens and noise settings to produce consistent cutscene shots across Cinemachine 2.x and 3.x.

Quick Start

Create a new virtual camera named HeroCam, set its follow target to Player, and configure its lens to a 60 degrees field of view.

Frequently Asked Questions about unity-cinemachine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Unity virtual camera and set its follow target?

To create a Unity virtual camera, you programmatically instantiate a VCam and assign its Follow and LookAt targets to specific game objects. This configures the camera's basic tracking behavior within your scene hierarchy.

How do I configure dolly and freelook rigs for a Cinemachine camera?

Configuring dolly and freelook rigs involves assigning spline dollies and setting up orbital rigs on a Cinemachine virtual camera. This automates complex camera movements and allows continuous tracking around target objects.

Does this Cinemachine workflow support both 2.x and 3.x APIs?

Yes, the Cinemachine workflow supports both 2.x and 3.x APIs. It specifically handles compatibility between the two versions, allowing you to automate pipelines and generate impulse events across different Editor environments.

How do I modify lens settings and pipeline components in a virtual camera?

Modifying lens settings and pipeline components involves adjusting the Body, Aim, and Noise parameters on a Cinemachine virtual camera. This allows you to fine-tune field of view and apply procedural noise for cinematic effects.

What is the best way to automate a cinematic camera rig in Unity?

The best way to automate a cinematic camera rig is to programmatically create a sequence of virtual cameras, apply a dolly spline, and tweak lens settings. This produces consistent cutscene shots across Cinemachine versions.

Why use a State Driven camera over a Mixing camera in Unity?

A State Driven camera switches virtual cameras based on game state transitions, while a Mixing camera blends multiple rigs simultaneously. Choosing between them depends on whether your scene requires discrete state cuts or continuous blended motion.