- Home /
Is it possible to give certain number to Time.deltaTime?
Hello,
I would like to give a certain number to the Time.deltaTime or i would like to put some other thing instead of deltaTime. How can i do that?
Answer by CHPedersen · Dec 17, 2014 at 08:18 AM
You can put whatever you want instead of Time.deltaTime where you use it in code, but you cannot 'give' it another number. Time.deltaTime is the time it took to render the last frame. You can't simply dictate how long that takes. :)
Your question is kind of vague, but a careful guess might be that you should look into FixedUpdate and the Fixed Timestep variable.
Thank you so much! that was the answer i was looking for. I know what to do now :)
Your answer
Follow this Question
Related Questions
How to create an Idle counter ? 2 Answers
Time.DeltaTime doesn't seem to be correctly 1 Answer
Distribute terrain in zones 3 Answers
Time.deltaTime making color lerp appear fast, but won't reach 1 1 Answer