Many modern games have a separate physics frame rate to avoid that issue, but tend to always have the physics process a fixed amount of ‘time’ regardless of how long the frame takes so that the physics is more consistent. If that lags, the whole game will pretty much play in slow motion.
Many modern games have a separate physics frame rate to avoid that issue, but tend to always have the physics process a fixed amount of ‘time’ regardless of how long the frame takes so that the physics is more consistent. If that lags, the whole game will pretty much play in slow motion.