3 ms·
This is one of the traps when you go for the naive approach to framerate independence: simply using the frame delta for stepping your calculations. Results for
by connicpu 4y ago
This is one of the traps when you go for the naive approach to framerate independence: simply using the frame delta for stepping your calculations. Results for physics engines are very wacky! It's usually better to step your physics engine at a fixed rate (e.g. 60hz), and make the frequency of steps performed independent of the graphics framerate. Perform some slight interpolation on the position of rendered objects and nobody can tell the difference