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

Adding SolarSystem

SolarSystem will be parented by a root or anchor object. It is this anchor that will be positioned in the real world to place the solar system. Let's place SolarSystem about 3 meters in front of you when you first launch the app:

  1. In the Hierarchy root, create an empty object named Root and reset its Transform.
  2. Then, set its position Z to -3.
  3. Drag the SolarSystem prefab from the Assets/SolarSystem/Prefabs/ folder as a child object of Root.
  4. Set its transform position to (0, 0, 0) and scale to (0.03, 0.03, 0.03).

The scale of 0.03 looks good to us; you may decide to choose other values if you want.

  1. For our scene, the sun will provide illumination, so we can delete directional light from the scene if present.

You can go ...

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