logoalt Hacker News

Keyframeyesterday at 8:36 AM2 repliesview on HN

not framerate of rendering but physics running at (its own) fixed frame rate.


Replies

nottorpyesterday at 9:01 AM

Every game logic update, not only physics, should run on a timer that's fully independent from the frame rate.

The only place where that doesn't matter is fixed hardware - i.e. old generation consoles, before they started to make "pro" upgrades.

show 1 reply
bregmayesterday at 10:05 AM

I think you mean timestep. The video frames get updated on one timestep (the so-called "frame rate" because it is the rate at which video frames get redrawn, the inverse of its timestep), physics gets updated on a separate timestep, and gameplay or input or network polling can be updated on its own timestep.

show 1 reply