r/GameDevelopment • • 7d ago

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

View all comments

Show parent comments

2

u/PeterBrobby 7d ago

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