Now, we will position the moon relative to the earth. To assist, let's change our scene to the top-down orthographic view:
- In the Scene window, use the view gizmo in the upper-right corner to give a top view (click on the y-axis arrow).
- Click on the box in the center of the gizmo for orthographic.
The Scene window should look something like this:
The moon is 3,84,400 km from the earth. The diameter of the earth is 12,756 km. As per our units, one Unity unit equals the earth's diameter. So, if we position the moon accurately proportional to the sizes of the bodies, it is 30.13 units from the earth:
- Set the Moon's Transform ...