Search Unity

CinemachineBrain and multiple Scenes Additive

Discussion in 'Cinemachine' started by usernameHed, Jun 27, 2019.

  1. usernameHed

    usernameHed

    Joined:
    Apr 5, 2016
    Posts:
    93
    Hello, I have a special setups, With Scene streaming, let's say:
    - a MAIN_SCENE, with my CinemachineBrain
    - a CHUNK_LEVEL_1, with 10 virtualCinemachineBrain differents
    - a CHUNK_LEVEL_2, with 20 more virtualCinemachineBrain different
    - a CHUNK_LEVEL_3, with 5 more virtualCinemachineBrain different
    (all the virtualCinemachineBrain have differents names)

    My question is: I would like to setup transition between 2 camera: one in the CHUNK_LEVEL_1, and the other from the CHUNK_LEVEL_3.

    How can I accomplish this ?
    The CinemachineBlenderSettings script seems highly dependent of the current scene.

    Thanks you !
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    Yeah, the UX there is a bit limiting.

    In fact the blend settings are name-based. Even though the UX only allows you to choose the names of vcams that are present in the scene, you can enter other names in the asset, but the UX doesn't let you.

    A simple workaround is to create dummy vcams with the names of the vcams in the other scenes, just to edit the blend settings. Then delete them after, and the blend settings will stay.