Setting up an AR project in Unity using AR Foundation
In this section, you will learn how to set up a simple AR project in Unity using AR Foundation. You will learn how you can place simple objects such as a cube, add plane detection functionalities, and implement touch inputs and anchors into your AR scenes.
Before using AR Foundation in our first AR application, however, we must first understand the architecture of this package.
Understanding AR Foundation’s architecture
In this section, we’ll delve into the exciting world of Unity’s AR Foundation, a package that empowers you to create AR experiences across various platforms. Whether you aim to create applications for Android, Apple, or HoloLens, AR Foundation simplifies the process remarkably. Its extensive capabilities range from plane detection, image and object tracking, and face and body tracking, to point clouds and more. Figure 4.1 breaks down the architecture of AR Foundation into a hierarchy...