- Home /
How to get a smoother slow motion
Hello,Im trying to get a slow motion on the game im making but it looks realy laggy. Im using the FPS controller from the standard assets given by unity.I attached this script to it :
function Update () {
if (Input.GetKeyDown ("q")){
Time.timeScale = 0.5;
}
if (Input.GetKeyDown ("e")) {
Time.timeScale = 2.0;
}
if (Input.GetKeyDown ("t")) {
Time.timeScale = 1.0;
}
}
I know this is a similar question to this one http://answers.unity3d.com/questions/39279/how-to-get-smooth-slow-motion.html
but the fixes given on that question won't work.I tried adding a rigidbody to it and putting the Interpolation to Interpolate but it doesn't do anything.(I removed the tick from "Use Gravity" because the character started flying).Im new in unity and scripting so please go easy on me.
Thank you.
https://www.youtube.com/watch?v=VkEtAfL6aoc $$anonymous$$aybe this video will help you, I believe the creators of SUPER HOT used this.
Your answer
Follow this Question
Related Questions
Slow and Fast motion? 1 Answer
Animator canceling a script (sway) 2 Answers
Time.timeScale is laggy 2 Answers
Time.timeScale is Having a Strange Effect on Physics 1 Answer
Projectile movement in 3D 1 Answer