Is there a way to use Time.timeScale to slow down everything, but the player would still move in realtime? Or is there a different way to do this without Time.timeScale?
Thanks guys, I appreciate any help
Is there a way to use Time.timeScale to slow down everything, but the player would still move in realtime? Or is there a different way to do this without Time.timeScale?
Thanks guys, I appreciate any help
In your players update function do this:
function Update() {
var myDeltaTime = Time.timeScale == 0 ? 0 : Time.deltaTime / Time.timeScale;
}
then use myDeltaTime for all of your speed based operations. That is probably not going to work with physics though - there you would have to do all sorts of playing with velocities…