Now let's enable the local planet views for each of our barcode markers. In the Vuforia version of the project, we did this with a script. With ARToolkit, we will use a more brute-force method.
Perform the following steps for each of the planets. We'll start with Earth-Moon:
- On ARController, add a new ARMarker component (or copy/paste the existing one as new).
- Change Marker Tag to the planet + ID, such as earth3.
- Change Barcode Id to the same number: 3.
- Under Root, duplicate the SolarSystem0 object (Ctrl+D) and rename it like the tag: Earth3.
- On AR Tracked Object, set Marker tag as previously: earth3.
- Unfold Earth3 to see its copy of SolarSystem; unfold that too, then drag the Earth-Moon object ...