$ ./guess_the_languageGame Dev
Game Dev · hard · #249

Why can explicit Euler integration make a stiff spring explode?

  1. It ignores the mass of the body
  2. It only runs once per frame
  3. Its error adds energy each step
  4. It rounds positions to integers
Explicit Euler uses the old velocity for the whole step, which systematically overshoots oscillators; with a stiff spring the gained energy grows until it blows up.
Play Game Dev ▸