Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  6. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

How can I use two different CM vcams on two different cameras ?

Discussion in 'Cinemachine' started by Chocolade, Dec 2, 2018.

  1. Chocolade

    Chocolade

    Joined:
    Jun 19, 2013
    Posts:
    550
    I have a Camera and as a child under it I have CM vcam1. The Camera have a Cinemachine Brain component and the Live Camera is CM vcam1 (Transform)

    The problem is when I'm adding a new Camera then create a new Cinemachine Virtual Camera. CM vcam2 when I'm adding to the new Camera also a Cinemachine Brain Component even if CM vcam2 is a child of the new second Camera the first Camera Live now will use also the CM vcam2. Both Cameras will use CM vcam2.

    I want one Camera to use in the Brain with CM vcam1 and the second with CM vcam2.
    I'm using each Camera fro a diff cutscene.

    In the first screenshot the new Camera is using CM vcam2:



    But now also the first camera is using CM vcam2 instead CM vcam1 as it used before:



    Maybe I'm all wrong. What I want to do is using each camera for a different cutscene different characters and different animations. Maybe I should use timeline ? When I had only the first Camera the Spaceship Cutscene Camera with CM vcam1 it was working fine the cutscene I did. The camera followed and looked at the right characters.

    But once adding new Camera and new CM vcam camera it all messed up.
     
  2. Chocolade

    Chocolade

    Joined:
    Jun 19, 2013
    Posts:
    550
    Ok I got it. There is only one camera with the brain component and multiple virutal cameras. And when you want to switch between cutscenes you turn on/off the virutal camera you want.
     
    Gregoryl likes this.
  3. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    1,845
    Yes that's right. And the vcams should not be children of the Camera. Camera and vcams should be separate, top-level game objects.