So im making a 2d game, and implemented a pause function that sets the time.timescale to 0f. Now the problem is that after resuming the game which sets the time.timescale to 1f my player does not continue the movement. For example if i pause mid air while my character was going left it will just fall to the ground in one place instead of continuing the movement. Is it possible to fix this issue?
Looks like whatever you are using to update lateral momentum is continuing to update even when timeScale is zero. Look there first. Perhaps all you need is something in your Update() (or FixedUpdate()) that stops processing when timeScale is zero?
1 Like