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

Why do huge open worlds periodically shift everything back toward the origin?

  1. Float precision drops far from zero
  2. Shadows only render near the origin
  3. Save files store offsets from zero
  4. Navmeshes must contain the origin
32-bit floats have fewer fractional bits at large magnitudes, so far from the origin positions jitter; floating-origin systems recentre the world around the player.
Play Game Dev ▸