Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Timeline, cinemachine and time scale - Fixed timestep

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

  1. Suduckgames

    Suduckgames

    Joined:
    Nov 28, 2016
    Posts:
    121
    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:
    2,389
    There is a setting on the Brain to ignore timescale, so that cameras will keep working in realtime even when time is frozen. Is that what you're looking for?
     
  3. Suduckgames

    Suduckgames

    Joined:
    Nov 28, 2016
    Posts:
    121
    Yes, Thank you very much! Didn't expect it at the brain. Since maybe I want to have cameras affected by timescale and cameras who don't