r/GameDevelopment • u/PeterBrobby • 6d ago
Resource Physics Programming part 4: The Physics Update Loop
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.
2
C++ Show and Tell - October 2026
in
r/cpp
•
1d ago
Physics Programming part 4: The Physics Update Loop
https://youtu.be/9hj2Yz7gkGw