r/HillClimbRacing • u/Right-Journalist-622 • 15h ago
32-bit Glitch Phases in HCR2
Put together a quick graph showing why the physics start getting super weird the further you drive in Adventure mode.
Because the engine tracks your position using 32-bit floats (assuming 1m = 1 float unit), the coordinate precision gets cut in half every time your distance doubles past a power of 2. By 65.5k you get slight wheel shake (~7.8mm steps), by 262k the whole car starts jittering (~3.1cm steps), and past 1.05M (12.5cm steps) driving normally is pretty much impossible without a Kangaroo setup. Once you hit 2,097,152m, each step is 25cm which completely breaks ground collision.
Combined the HCR2 wiki glitch phase milestones with standard 32-bit float math to plot this out. Curious what other charts you guys would want to see next.