Hello,
I know this article: Understanding GameTime which is great.
The following questions remain a mystery for me though. Any input appreciated. Thanks!
- Is there any point in having a fixed time step and vsync off? My game has fixed time step and currently I offer VSYNC as an option in the settings. When I deactivate it on my machine, the result is horrible / stutterish. Should I not give this option at all or do you know of any scenario where fixed time step + vsync off might make sense? (my time step is at 60 FPS)
- I found this article through another forum post: Fix Your Timestep! | Gaffer On Games
The last method seems interesting (scroll down to “THe final touch”). However I wonder: Doesn’t this approach mean that what I render will always be 1 frame behind of what the current physics-state is? Is the implication input/output lag? - This one might be connected to question 2: I read here and there that you should process input as soon as its there independent of the physics frame rate. Now this doesn’t really make sense to me. Player movement etc, is part of the physics isn’t it? (or do I get the model wrong?) Now what should the input do, if there is no physics to process it? Thanks for enlightening me
Cheers