• barsoap@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Not doing it also causes issues in the form of micro stutters when some but not other frames have updated physics or not. Frame pacing is hard, and locking everything down happens to be the only sure-fire way to completely eliminate display issues. But then, of course, you have a locked frame rate.

    • Fisch
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You can also run the physics at a fixed rate and still allow for higher fps. That’s the recommended way to do it in the Godot engine, for example.