Hi everyone, When I use AActor::tick(), I find that in the first several frame DeltaTime is not a constant, which should be 0.016667s (1/120s):
How is it happen? What determines the vaule of DeltaTime in every frames?
Hi everyone, When I use AActor::tick(), I find that in the first several frame DeltaTime is not a constant, which should be 0.016667s (1/120s):
How is it happen? What determines the vaule of DeltaTime in every frames?
The value of delta time is how long it took to render the previous frame. So it will vary depending on how much computation is involved. That’s why delta time ( ie, your frame rate ) get worse when you try to do too much, or you’re running on inferior hardware.