Delta Time
Posted: Tue Nov 10, 2015 3:03 pm
When you develop on Orxonox you might have noticed that when we move around things in our world, we do so by multiplying with some delta time. Of course when we apply forces from the physics engine it's a bit different, but in the end proper simulation has to be sure how much time has passed between two cycles.. or in this case in between two frames.
That way you can achieve constant speed even with variable frame rate. It doesn't make sense that the player can't move as quickly when there are many enemies around that need to be rendered and that need some AI cycles as well. In fact it's bad design, it affects gameplay and it just makes the game unfair. In the most important (or most beautiful) moments of the game you want the player to be absolutely in control and not slow them down for some silly reasons.
Interestingly Bethesda doesn't care about this issue as the latest video from Fallout4 proves:
https://www.youtube.com/watch?v=r4EHjFkVw-s
You can clearly see that higher framerate = faster movement, faster physics etc. The player is therefore stronger and better when he has a better computer or graphics card or playing on low settings. Interestingly enough double the framerate doens't result in double the speed for motion or physics, so they did something to compensate for it, but they did it wrong.
That way you can achieve constant speed even with variable frame rate. It doesn't make sense that the player can't move as quickly when there are many enemies around that need to be rendered and that need some AI cycles as well. In fact it's bad design, it affects gameplay and it just makes the game unfair. In the most important (or most beautiful) moments of the game you want the player to be absolutely in control and not slow them down for some silly reasons.
Interestingly Bethesda doesn't care about this issue as the latest video from Fallout4 proves:
https://www.youtube.com/watch?v=r4EHjFkVw-s
You can clearly see that higher framerate = faster movement, faster physics etc. The player is therefore stronger and better when he has a better computer or graphics card or playing on low settings. Interestingly enough double the framerate doens't result in double the speed for motion or physics, so they did something to compensate for it, but they did it wrong.