- Home /
Question by
wolfbitegames · Jul 13, 2014 at 02:04 AM ·
time.timescale
Slowing down time except for player.
Hello,
I want to slow down everything except for the player which is a rigidbody and uses physics.
I am slowing down time by:
Time.timeScale= slowSpeed;
Time.fixedDeltaTime = 0.02f * Time.timeScale;
I am speeding up player animations by:
player.myAnimator.speed= 1/Time.timeScale;
Currently moving player with addForce() and using gravity setting on rigidbody. How do I get the player's physics to normal speed? or is there any other method to slow the game while keeping player speed normal?
Thanks for any help!
Comment
Your answer
Follow this Question
Related Questions
Unable to change Time.timeScale 2 Answers
Pausing Object With Time.Timescale excepting line renderer 1 Answer
Time.timeScale seems doesn't work with Update 1 Answer
Problem freezing the game with 1 game over script over many objects 0 Answers
Need help affecting 2d jump with UnscaledDeltatime 0 Answers