Delta Time

Delta Time

Warning

This post is more than a year old. Information may be outdated.
  • Using Frames for updating game logic can break when different frame rates.
  • Use Delta Time for updating game logic.
cpp
position += velocity * deltaTime
Backlinks2