Hi
My terrain is 40kx40k so im worried about precision point float?not sure what it is .If i rescale everything down to a 4th of the size so i can reduce the terrain to 10kx2 what problems might i encounter physics wise or other?
Scaling everything down doesn’t help; you still have the same precision issues. You’ve merely changed the value of the exponent.
And yes, if you get that far away from the origin you are going to run into precision problems. The solution is to keep everything near the origin, by re-centering the whole world as the player moves around. (And you will probably need to use doubles to keep track of where things are in your own data structures/files.)
1 Like