Search Unity

How to transition from cutscene to playable game

Discussion in 'Cinemachine' started by chechuu, Jul 2, 2020.

  1. chechuu

    chechuu

    Joined:
    Jul 2, 2020
    Posts:
    4
    So I've watched a lot of demos about cinemachine, but I can't figure out how to do this.
    I animated a virtual camera to to make a cutscene when the game starts, but I don't know how to start playing after it plays.
    Also, my first person controller camera ends up with weird rotations

     
    Last edited: Jul 2, 2020
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
  3. chechuu

    chechuu

    Joined:
    Jul 2, 2020
    Posts:
    4
    I haven't, but I will definitely look into that. Thanks.
    I think I still don't really grasp the concept of the timeline. Can I setup my whole game in one timeline with every cutscene when I want it?
    i.e. I'm making a little 3d first person game, and basically I want to be able to create cutscenes from the perspective of the player, is this how should I do it?
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    I would make separate timelines for each cutscene, and then launch them from code
     
  5. chechuu

    chechuu

    Joined:
    Jul 2, 2020
    Posts:
    4
    Each timeline for each virtual camera with the animations to make the cutscene, right?
    Sorry if these are really basic questions, I appreciate you helping me out, thank you
     
  6. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    Code (CSharp):
    1. For each cutscene
    2. {
    3.     make a timeline;
    4.     include in the timeline
    5.     {
    6.         tracks for animating all the stuff
    7.         a cinemachine track for the vcams that will capture the action.  That track will contain
    8.         {
    9.             one clip for each vcam that will be activated during the timeline.  Blend the clips to blend between vcams
    10.         }
    11.     }
    12. }
     
    waqasjameel and radiantboy like this.
  7. chechuu

    chechuu

    Joined:
    Jul 2, 2020
    Posts:
    4
    I think I get it, thank you :D