I apologize if this is the incorrect place to ask. I tried in UnityAnswers but it gave me this error "“The following topics are not present in the system, and you don’t have permissions to create new ones: captureFramerate”
Anyway here’s the original question:
Hello again. I was had a question about the functionality of Time.captureFramerate.
I assumed that it would be a way to force Unity to behave at a certain frame rate. At first that’s what I thought it was doing due to our FPS tracker (the one from the wiki that everyone uses). I set Time.captureFramerate to 30 and sure enough it would display 30.
However, I noticed some strange behavior in Update(). I’d print out the deltaTime and it would say the correct number (.0333) bit it was being called a more times than 30 frames per second because my normal minutes/seconds counter was increasing at an faster rate. Also, when I put it in our game, everything was moving along a LOT faster.
So apparently this will have unity fire off updates at a fixed time but why would setting it to a fixed rate cause everything to behave faster? It looks like the deltaTime is actually wrong. The documentation says this value is good for capturing movies but are there any other designed uses for it?
Thank you
-Mo