I am trying to make a solar system simulation game I made some rockets and big sphere to make it look like earth and other . I make the camera child of the rocket so when I traveling with rocket The camera can travel with it the problem is that when I go up objects starts to disappear.any help please
1 Answer
1This is related to the clipping planes. Your camera has two values, the far clip plane, and the near clip plane. Anything closer than the near clip is not rendered, and anything farther than the far clip is not rendered. But, if those two planes are too far apart, you get z-fighing, which looks very glitchy. So, because of this, rendering the vastness of space can be difficult. Usually, you need to find a way to separate your scene into two, the local scene with your rocket and anything within, say, a kilometer or so, and a far scene with planets and moons and stars that are farther away. You would need two cameras for this setup as well, and a way to sync the perspectives.