Search Unity

Question How to switch beftween timelines, with cinemachine virtual cameras blending?

Discussion in 'Timeline' started by WimB, Jun 24, 2021.

  1. WimB

    WimB

    Joined:
    Sep 23, 2014
    Posts:
    35
    Hi

    I have two timeline animations in my scene, Intro timeline and Idle timeline. Both contain virtual cameras animating around the scene.

    If say the idle timeline/director is playing and I want to interupt this to play the intro timeline/director, but i want the virtual cameras to blend to the new position, not just jump the start of the intro timeline. Is this possible ? and if so any help to how would be greatly appreciated. Also visa versa if the intro is playing and i want to interupt it to play another timeline with virtual cameras and blend to those cameras.

    Best Regards
    T
     
    DeLeT3D likes this.
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
  3. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,730
    You can blend in to a timeline by setting the Ease In Duration of the first CM clip in the timeline. Similarly, you can blend out by setting the Ease Out Duration of the last CM clip.

    upload_2021-6-28_8-43-47.png