Search Unity

How to make Cinemachine still follow player when Time.timeScale = 0?

Discussion in 'Cinemachine' started by optimise, Aug 7, 2019.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    442
    I have the use case that when Time.timeScale = 0 I still want Cinemachine moving and follow the player but what I found is Cinemachine not able to do this or did I missing something? I reset the player position to a position that quite far from Cinemachine position and immediately set Time.timeScale = 0, Cinemachine will just stop at there and not follow player.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,725
    There is an "Ignore TimeScale" checkbox on the CM brain. Try that.
     
  3. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    442
    I already tried that but I does not work as expected.
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,725
    Can you be more specific? What happens when you set that option?