r/Simulate • • Sep 29 '26

CSE & PROGRAMMING 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

Duplicates

vulkan • • Sep 29 '26

[ Removed by moderator ]

0 Upvotes

GameDevelopment • • Sep 29 '26

Resource Physics Programming part 4: The Physics Update Loop

1 Upvotes

programming • • Sep 29 '26

[ Removed by moderator ]

0 Upvotes

hobbygamedev • • Sep 29 '26

Resource Physics Programming part 4: The Physics Update Loop

1 Upvotes

IndieGaming • • Sep 29 '26

Physics Programming part 4: The Physics Update Loop

0 Upvotes

PhysicsEngine • • Sep 29 '26

Video The Physics Update Loop

2 Upvotes

computationalphysics • • Sep 29 '26

The Physics Update Loop

2 Upvotes

Cplusplus • • Sep 29 '26

Tutorial Physics Programming part 4: The Physics Update Loop

2 Upvotes

fun_gamedev • • Sep 29 '26

Programming The Physics Update Loop

1 Upvotes

IndieDev • • Sep 29 '26

Video The Physics Update Loop

1 Upvotes

numerical • • Sep 29 '26

The Physics Update Loop

1 Upvotes

SoloDevelopment • • Sep 29 '26

Game The Physics Update Loop

1 Upvotes

videogamescience • • Sep 29 '26

Code The Physics Update Loop

4 Upvotes

digitaltwin • • Sep 29 '26

Physics Simulation Physics Programming part 4: The Physics Update Loop

5 Upvotes

ScientificComputing • • Sep 29 '26

Physics Programming part 4: The Physics Update Loop

4 Upvotes

opengl • • Sep 29 '26

The Physics Update Loop

3 Upvotes

gameenginedevs • • Sep 29 '26

The Physics Update Loop

5 Upvotes

GameDevs • • Sep 29 '26

Physics Programming part 4: The Physics Update Loop

1 Upvotes

indiegamedevforum • • Sep 29 '26

The Physics Update Loop

1 Upvotes

learnphysics • • Sep 29 '26

The Physics Update Loop

1 Upvotes

AppliedMath • • Sep 29 '26

Physics Programming part 4: The Physics Update Loop

1 Upvotes

• • Sep 29 '26

The Physics Update Loop

1 Upvotes

PhysicsHelp • • Sep 29 '26

The Physics Update Loop

1 Upvotes

gamedevscreens • • Sep 29 '26

The Physics Update Loop

1 Upvotes