Search Unity

Timeline, cinemachine and time scale - Fixed timestep

Discussion in 'Timeline' started by Suduckgames, Nov 23, 2018.

  1. Suduckgames

    Suduckgames

    Joined:
    Nov 28, 2016
    Posts:
    218
    I have a timeline when a boss appear. Before playing the timeline I just stop the time setting TimeScale to 0 and play a cutscene to show the boss. In order to make it work the update metod of the Timeline and the animator (on the camera) is set to "unscaled time". This was working great, but suddenly it stopped to work.

    After a lot of search, I found that the "Fixed timestep" also affect the cinemachine camera. So if i change the fixed timestep of my game the behaviour of the camera change.

    Is there any way to make the timeline or cinemachine to ignore the fixed timestep? Since I put the Unscaled tme on the update metod, I don't expect it to be influenced by fixed timestep
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    There is a setting on the CM Brain to ignore timescale, so that cameras will keep working in realtime when the clock is frozen. Is that what you're looking for?
     
  3. Suduckgames

    Suduckgames

    Joined:
    Nov 28, 2016
    Posts:
    218
    Yes that was what I was looking for. Thank you very much!