Using AR Foundation
When it comes to AR, Unity has two main tools to create applications: Vuforia and AR Foundation. Vuforia is an AR framework that can work on almost any phone and contains all the features needed for basic AR apps; but with a paid subscription, we get more advanced features. On the other hand, the completely free AR Foundation framework supports the latest native AR features of our devices but is supported only on new devices. Your choice of one or the other depends a lot on the type of project you're going to build and the target audience. However, since this book aims to discuss the latest Unity features, we are going to explore how to use AR Foundation to create our first AR app for detecting the positions of images and surfaces in the real world. So, we'll start by exploring its API.
In this section, we will examine the following AR Foundation concepts:
- Creating an AR Foundation project
- Using tracking features
Let's start...