From the course: Unity: Building VR User Interfaces

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding a teleport marker

Adding a teleport marker - Unity Tutorial

From the course: Unity: Building VR User Interfaces

Start my 1-month free trial

Adding a teleport marker

- [Instructor] Well it certainly is cool to move around in VR. But that wasn't the most intuitive experience. To solve this, we're going to create a teleport marker to allow us to know where and if we can move to a location. To do this, we're going to start by creating a marker game object in the hierarchy. So let's go right-click, create empty, and we're going to call this Marker. And go over to the little menu option and hit reset. Now I want this marker to be following the distance independent millimeter scheme. So I'm going to set the scale to 0.001 and I'm going to set that for all of these values. All right, next we're going to need a script on this marker. Go over to the scripts folder and grab the DMMSizer and drag it onto the marker. This will allow anything that is attached to the marker to be following the DMM convention. The first thing we need is to attach an anchor that represents the head to the DMMSizer…

Contents