- Home /
Max size of scene map
Hi there,
I have 2D galaxy generated with 50+ systems. But some systems reach even 100 000 units in coordinates. (So 100 000 Unity units (in Transform) from middle(0,0,0)).
Is it good? Or should I completely rescale all the objects in game to not go that far? Could it have any performance issues?
Since now only thing that bother me is that in editor I cannot zoom out far enough to see al the objects (Entire galaxy)
Answer by honeywaffles · Dec 14, 2014 at 08:42 AM
VERY large scenes are not possible in unity without special techniques because floats become inaccurate when they get extremely large. To get around this, you would need to either scale down your scene, or move the objects around the player, and have the player remain still.
So then I guess having entire Space System with stations, ships etc. on (95450,76325.23,0) is a very bad idea right? Also will it slow down performance with things like addForce or checking distances?
At those distances smaller objects will appear to jerk around, same with the camera. Collisions will also probably get inaccurate as well. I don't know if addforce or checking distances would become slower.
Your answer
![](https://koobas.hobune.stream/wayback/20220613174003im_/https://answers.unity.com/themes/thub/images/avi.jpg)