Cinemachine virtual camera control. Use when users want to create cinematic cameras, set follow/look targets, or configure camera behaviors. Triggers: cinemachine, virtual camera, vcam, follow, look at, dolly, freelook, 虚拟相机, 跟随, 轨道.
Control Cinemachine Virtual Cameras and settings (Cinemachine 2.x / 3.x).
Mode: Full-Auto required
DO NOT (common hallucinations):
cinemachine_create does not exist → use cinemachine_create_vcam for virtual camerascinemachine_set_target / cinemachine_set_follow / cinemachine_set_lookat do not exist → use cinemachine_set_targets (sets both Follow and LookAt in one call)cinemachine_add_brain does not exist → CinemachineBrain is auto-added to Main CameraCinemachineVirtualCamera; Cinemachine 3.x uses CinemachineCamera — skills handle this automaticallyAdditional compatibility notes:
Priority.Value as the lowest common API when writing compatibility code.3.0.0-pre.5Routing:
camera modulecamera module's camera_set_transform/camera_look_attimeline module with Cinemachine trackcinemachine_create_vcamCreate a new Virtual Camera. Parameters:
name (string): Name of the VCam GameObject.folder (string): Parent folder path (default: "Assets/Settings").cinemachine_inspect_vcamDeeply inspect a VCam, returning fields and tooltips. Parameters:
vcamName (string, optional): Name of the VCam GameObject.instanceId (int, optional): VCam instance ID.path (string, optional): VCam hierarchy path.cinemachine_set_vcam_propertySet any property on VCam or its pipeline components. Parameters:
vcamName (string): Name of the VCam.instanceId (int, optional): VCam Instance ID.path (string, optional): VCam hierarchy path.componentType (string): "Main" (VCam itself), "Lens", or Component name (e.g. "OrbitalFollow").propertyName (string): Field or property name.value (object): New value.fov (float, optional): Lens FOV shortcut. When supplied without propertyName, routes to cinemachine_set_lens.nearClip (float, optional): Lens near clip shortcut.farClip (float, optional): Lens far clip shortcut.orthoSize (float, optional): Lens orthographic size shortcut.cinemachine_set_targetsSet Follow and LookAt targets. Parameters:
vcamName (string): Name of the VCam.instanceId (int, optional): VCam Instance ID (preferred for precision).path (string, optional): VCam hierarchy path.followName (string, optional): GameObject name to follow.lookAtName (string, optional): GameObject name to look at.cinemachine_set_componentSwitch VCam pipeline component (Body/Aim/Noise). Parameters:
vcamName (string): Name of the VCam.stage (string): "Body", "Aim", or "Noise".componentType (string): Type name (e.g. "OrbitalFollow", "Composer") or "None" to remove.cinemachine_add_componentDEPRECATED — Use
cinemachine_set_componentinstead for proper pipeline control (Body/Aim/Noise stages). Add a Cinemachine component (legacy, supports CM2 and CM3). Parameters:
vcamName (string): Name of the VCam.instanceId (int, optional): VCam Instance ID.path (string, optional): VCam hierarchy path.componentType (string): Type name (e.g., "OrbitalFollow").cinemachine_set_lensQuickly configure Lens settings (FOV, Near, Far, OrthoSize). Parameters:
vcamName (string): Name of the VCam.fov (float, optional): Field of View.nearClip (float, optional): Near Clip Plane.farClip (float, optional): Far Clip Plane.orthoSize (float, optional): Orthographic Size.cinemachine_list_componentsList all available Cinemachine component names. Parameters:
cinemachine_impulse_generateTrigger an Impulse at location or via Source. Parameters:
sourceParams (string, optional): JSON string for parameters, e.g., {"velocity": {"x": 0, "y": -1, "z": 0}}.cinemachine_get_brain_infoGet info about the Active Camera and Blend. Parameters:
cinemachine_create_target_groupCreate a CinemachineTargetGroup. Parameters:
name (string): Name of the new TargetGroup GameObject.cinemachine_target_group_add_memberAdd or update a member in a TargetGroup. Parameters:
groupName (string): Name of the TargetGroup.targetName (string): Name of the member GameObject.weight (float): Member weight (default 1).radius (float): Member radius (default 1).cinemachine_target_group_remove_memberRemove a member from a TargetGroup. Parameters:
groupName (string): Name of the TargetGroup.targetName (string): Name of the member GameObject.cinemachine_set_splineAssign a SplineContainer to a VCam's SplineDolly component (Body stage). Parameters:
vcamName (string): Name of the VCam.splineName (string): Name of the GameObject with SplineContainer.cinemachine_add_extensionAdd a CinemachineExtension to a VCam. Parameters:
vcamName (string): Name of the VCam.extensionName (string): Type name of the extension (e.g., "CinemachineStoryboard", "CinemachineImpulseListener").cinemachine_remove_extensionRemove a CinemachineExtension from a VCam. Parameters:
vcamName (string): Name of the VCam.extensionName (string): Type name of the extension.cinemachine_set_activeForce activation of a VCam (SOLO) by setting highest priority. Parameters:
vcamName (string): Name of the VCam to activate.cinemachine_create_mixing_cameraCreate a Cinemachine Mixing Camera. Parameters:
name (string): Name of the new GameObject.cinemachine_mixing_camera_set_weightSet the weight of a child camera within a Mixing Camera. Parameters:
mixerName (string): Name of the Mixing Camera.childName (string): Name of the child VCam.weight (float): Weight value (usually 0.0 to 1.0).cinemachine_create_clear_shotCreate a Cinemachine Clear Shot Camera. Parameters:
name (string): Name of the new GameObject.cinemachine_create_state_driven_cameraCreate a Cinemachine State Driven Camera. Parameters:
name (string): Name of the new GameObject.targetAnimatorName (string, optional): Name of the GameObject with the Animator to bind.cinemachine_state_driven_camera_add_instructionAdd a state mapping instruction to a State Driven Camera. Parameters:
cameraName (string): Name of the State Driven Camera.stateName (string): Name of the animation state (e.g., "Run").childCameraName (string): Name of the child VCam to activate for this state.minDuration (float, optional): Minimum duration in seconds.activateAfter (float, optional): Delay in seconds before activation.cinemachine_set_noiseConfigure Noise settings (Basic Multi Channel Perlin). Parameters:
vcamName (string): Name of the VCam.amplitudeGain (float): Noise Amplitude.frequencyGain (float): Noise Frequency.import unity_skills
# Create a vcam that follows and looks at the player
unity_skills.call_skill("cinemachine_create_vcam", name="PlayerCam")
unity_skills.call_skill("cinemachine_set_targets", vcamName="PlayerCam", followName="Player", lookAtName="Player")
Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.