- Home /
Dramatic Camera effect with all physical gameobjects paused?
Hello Devs,
Scenario : I have player which would come in contact with various elements while playing down the level. At certain point, the player would touch another GameObject. At that point of time, I want the camera to zoom out and focus on both of these two guys and then I want the camera to return back to its normal position and rotation.
Procedure I am trying : Now when I want to move the object, I got to pause the game i.e. Time.timescale = 0.001f (If you guys think this is a bad idea, please give a another idea). I move the Camera to the required position which shows both characters. Then after 1 or 2 seconds, I bring it back to the same position and rotation.
Problem :
The problem I am facing is, the code does not run after I turn Time.Timescale to zero.
The two characters are nearby on x-z plane and I am not sure how to move the camera.
I am focussed on the 2nd issue as I think I could find a way, but with the first I would like to have some help. Thank you & Please.
regards, Karsnen
Perhaps this previous answer will be of some use to you.
Posting your code and perhaps a drawing might might help you get an answer.