I am curious about how big the world (map) can be if you wouldn’t be using physics at all? I am testing out some 4x spacegame idea I have and I’m curious about this.
With physics the max map-size for multiplayer is 10km in each direction, this I know, but how large can the world be without using physics at all?
Hmm for a 4x spacegame that wouldn’t be such a problem, because the units would be so small and I would fake the movement with a repeated position update.
Why not just shift world origin to the area of interest - the user can’t see what’s moving in a galaxy far, far away… May be quite applicable depending on how your 4x is supposed to work.
A floating point number loses accuracy as a number increase in size. The simplest way to think of it is imagine you only had 4 digits to write a number, but you could add a decimal anywhere. You could write from .0001 to 1000, but each time you move the decimal point back, you lose that level of precision.
Single point precision goes up to 2,147,483,647 and the data is stored in 32 bits.
With 3D, models, movement, physics, pretty much everything, gets weird once you lose too much accuracy.
Oh it’s costly, very much so. I only use it during zone transition with a static screen - masked as a *you’ve arrived safely menu. *It’s for a galaxy map and the origin shifts when you reach a cluster of stars which you can then explore freely with tracing not suffering from jittery floating point errors.