64-bit Coordinate System

While waiting for UE5 large world coordinates (LWC), I decided to move an entire galaxy instead of moving my character when I’m traveling in outer space. (Testing Framerates at Up to 1.44 Billion Km Per Hour [Atlantica Galaxy] - YouTube)
The only time that my character is not at or close to the original world origin (0, 0, 0) is when I’m in close proximity to a planet, moon, asteroid, or space station.
I’ve seen a lot of success with this illusion, but only in the planetary system close to the world origin. I convert vector floats into doubles and do my math in doubles, then cast my doubles back into float vectors. I’m pretty sure I’m losing a lot of precision because I have trouble trying to land on planets, at speeds less than 70 km/sec, in systems far away from the world origin. For now it’ll have to do until LWC are made available.
Another sacrifice I had to make is multiplayer features. My game has to be single player now that I’m moving the entire galaxy to give the illusion of the character moving.

2 Likes