Skip to Content
Augmented Reality for Developers
book

Augmented Reality for Developers

by Jonathan Linowes, Krystian Babilinski
October 2017
Intermediate to advanced
548 pages
13h 23m
English
Packt Publishing
Content preview from Augmented Reality for Developers

Tilt the earth's axis

Oh! One more thing, before we forget. Earth has seasons because our planet's axis of rotation is tilted at an angle of 23.4 degrees, relative to our orbital plane (the plane of earth's orbit around the sun).

Now that we've defined a parent Earth-Moon object, we can also tilt the earth without affecting the position of this whole celestial pair system:

  1. Select Earth and change its Transform Rotation to (0, 0, 23.4).
  2. If you use the rotate gizmo in the Scene view, be sure to set it to Local (not Global).
  3. Make sure Transform Position is still (0,0,0).
  4. Save the scene and the project.

The following screenshot shows our Scene view with the sun, tilted earth, and orbiting moon:

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Augmented Reality Game Development

Augmented Reality Game Development

Micheal Lanham
Augmented Reality

Augmented Reality

Joseph Rampolla, Greg Kipper

Publisher Resources

ISBN: 9781787286436Supplemental Content