Questions tagged [fixed-timestep]
The fixed-timestep tag has no summary.
82 questions
1 vote
1 answer
104 views
Objects move with different speed on different devices
I was making a 2d top-down game, but when I tested it on two devices (Samsung M31 and Samsung S25) there was a problem with player speed - it was faster on S25 and slower on M31. I tried using some ...
1 vote
0 answers
95 views
Fixed timestep graphics jitter
I'm trying to implement the https://gafferongames.com/post/fix_your_timestep article but I have jitter on the position interpolation. video of the problem I have the following PhysX manager class ...
0 votes
1 answer
501 views
Implementing a Fixed Time Step?
This has been bugging me for few days now. I'm trying to stop movement jittering in my game. I've looked towards semi and fixed time steps - moving towards the latter below so I can really understand (...
0 votes
1 answer
237 views
Physics update frequency feasibility
I want to create an offline 2D platformer that is not very physics heavy. After a lot of consideration, I've decided to run most of the physics at a fixed rate of 480hz, and I'm not experiencing any ...
0 votes
1 answer
187 views
How do i correctly interpolate between 2 positions recieved from server?
I am trying to implement interpolation in client side. I store Vector2 position data recieved from server in a list and try to interpolate (x,y) from previous position to next position as data comes. ...
0 votes
0 answers
53 views
Sync issues with replaying movement
I am creating a networked game and having issues with keeping positions synced between multiple clients. Essentially what I have happening is one client's movement to replaying on another routed ...
18 votes
3 answers
8k views
Fixed timestep game loop, why interpolation
This is a very standard way of doing a fixed timestep game loop, where you just accumulate time from the previous frame and consume it in discrete steps with the physics engine: ...
4 votes
2 answers
4k views
How do fixed-point physics (engines) work?
I would think there should be an abundance of excellent articles answering this question, but my searches have come up completely empty. I am developing an embedded graphics engine on a ...