Tagged Questions
1
vote
2answers
402 views
Variable physics step, bad idea?
Currently, when I update the entities I calculate the time passed since the last update, and then pass that to their update function. They will in turn pass that duration to all their components.
...
4
votes
4answers
850 views
Physics timestep questions
I've got a projectile working perfectly using the code below:
//initialised in loading screen
60 is the FPS - projectilEposition and velocity are Vector3 types
gravity = new Vector3(0, ...
18
votes
6answers
1k views
Data structures for interpolation and threading?
I've been dealing with some frame-rate jittering issues with my game lately, and it seems that the best solution would be the one suggested by Glenn Fiedler (Gaffer on Games) in the classic Fix Your ...