© Allan Fowler 2019
Allan FowlerBeginning iOS AR Game Developmenthttps://doi.org/10.1007/978-1-4842-3618-5_7

7. Adding Plane Detection and Point Clouds

Allan Fowler1 
(1)
Marietta, GA, USA
 

Now we are going to add the Generated Planes to our game, which will help the ARKit camera track the movement of the device.

Creating the Generated Planes GameObject

Just like we did in Chapter 3, create an empty GameObject. From the file menu, select GameObject ➤ Empty (Figure 7-1).
../images/460089_1_En_7_Chapter/460089_1_En_7_Fig1_HTML.jpg
Figure 7-1

Creating an empty GameObject

With the GameObject selected, in the Inspector, name this Created Planes (Figure 7-2).
Figure 7-2

Naming GameObject Created Planes

Now we need to add a ...

Get Beginning iOS AR Game Development: Developing Augmented Reality Apps with Unity and C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.