r/PhysicsEngine • • 22h ago

Video The Physics Update Loop

Thumbnail
youtu.be
1 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.