Page 1 of 1

Animations with Time.timeScale = 0

Posted: 13 May 2021, 13:44
by Feldruebe
Hello,

I am implementing a pause menu. My current approach is to set the timeScale to 0 to pause the game and show the menu.
This works without problems. The only thing is that the control animations are also affected by the timeScale.

Is there a way to update the animations manually?
A look into the documentations brought me to the Clock class but I could not figure out to do it.

Re: Animations with Time.timeScale = 0

Posted: 17 May 2021, 10:15
by sfernandez
Hi, by default Noesis plugin uses Time.time (affected by timeScale) to update, but you can set UseRealTimeClock=true to use real time since startup.
Could that work for you?

Re: Animations with Time.timeScale = 0

Posted: 19 May 2021, 12:53
by Feldruebe
Thanks for the answer.

Worked just liked that.

Re: Animations with Time.timeScale = 0

Posted: 19 May 2021, 14:13
by sfernandez
Great, thanks for the update.