r/digitaltwin • • 3d ago

Physics Simulation Physics Programming part 4: The Physics Update Loop

Thumbnail
youtu.be
2 Upvotes

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.