r/GameDevelopment • • Sep 29 '26

Resource Physics Programming part 4: The Physics Update Loop

https://youtu.be/9hj2Yz7gkGw

I go through how I separate general updates from physics updates, why I use a fixed timestep, how the accumulator works, and what happens when the simulation starts falling behind.

I explain the reasoning behind the design decisions and why I rejected the alternatives. I show the implementation of the loop.

1 Upvotes

2 comments sorted by

2

u/AwarenessEastern2689 Sep 29 '26

Is this a series you'll be making? I'm going to check this out later today, this is interesting topic. I've used different engines for a while now but don't really know much what happens under the hood.

2

u/PeterBrobby Sep 29 '26

Yes, this is part 4 in an ongoing series. I might have 20+ videos on Physics Programming because it’s my biggest passion.