From the course: ARKit and Unity: Build a Drivable Car in Augmented Reality

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Interacting with 3D objects in AR

Interacting with 3D objects in AR

- [Instructor] Hey guys. So in this video, I'm going to show you how to interact with 3D objects once we place them on the horizontal plane. So as soon as you place this cube on the horizontal plane and retouch this cube, we are going to perform some action on the cube which will show us that we have touched the cube and not anywhere else. So we can do anything like change the color of the cube, animate it or we can just hide the cube. Now just for the explanation purpose, we are just going to hide the cube when we touch it. So let's see how to do that. And the purpose for which I'm teaching you how to interact with 3D objects is because when we are going to prepare our car in the later videos, we are going to have door close and door open animations of the car. So we can either open and close the door of the car using a button or we can touch the door of the car to open it. So that's where this concept will help us. So let's see how to interact with this cube. Now before writing the…

Contents