Multiple Image Tracking in AR
Learn to track and spawn Prefabs for multiple image markers using AR Foundation.
In this lesson, we will explore how to track multiple images and spawn corresponding Prefabs for each image marker using AR Foundation. This functionality enables us to create interactive AR experiences where different Prefabs are spawned based on the detected image markers.
Scene setup
Given below are the steps to set up our AR scene:
Duplicate the “ARImageTracking” scene by locating previous scenes and rename it to “ARMultipleImageTracking.”
Create a new folder called “Multiple images” in the “Assets” > “Reference Image” directory. This folder will store the new image markers and the reference image.
Choose the images we wish to use as image markers. For this lesson, we'll use images of a cat, a shark, and the wolf from the previous single image tracking scene.
Get hands-on with 1400+ tech skills courses.