Orbiting the sun
To turn this into a solar system, the earth-moon pair needs to orbit around the sun in the center.
Making the sun the center, not the earth
Presently, we're still setting things up with the earth at the center of our universe. Let's make things right, as advised by Copernicus, and move the earth into an orbital position so the sun can be the center. For this, we recommend that you go back to a top-down view in the Scene
pane:
- In the
Scene
window, use the gizmo view 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.
- Now move
Earth-Move
toPosition X
=5
and moveSunlight
to the origin. - Select
Earth-Moon
inHierarchy
and setPosition
to (5
,0
,0
). - Select
Sunlight
inHierarchy
and resetPosition
to (0
,0
,0
).
Creating the sun
Creating the sun is a lot like making the earth and moon spheres, with one exception though. Since the sunlight source will be inside the sun (at 0
,0
,0
origin), its surface won't get illuminated. Instead...