This acts as a folder for all of the destination points. However, there’s a way to set up “portals” between two points using destination points.Īdd a new empty GameObject to the Hierarchy, name it Destination Points and reset its Transform. For example, if you wanted to teleport to the top of the tower from the ground, you won’t be able to because you can’t see it from the ground. While you were playing with teleportation, you may have realized that you can’t move to locations you can’t see. Perfect! With that out of the way, it’s time to explore some exciting ways of extending and replacing the movement system. You can try this out by playing the scene and teleporting onto the green terrain. This also means it can adapt to any type of collider, including terrain colliders. Both the play area and the player within get transported to the position of that point. When you point the laser pointer at a collider and let go, a raycast is shot toward the endpoint. Terrain Teleportationīefore adding any components, you should first understand how the VRTK _ Height Adjust Teleport component that’s attached to the Play Area works. Not sure how teleportation works? No worries, because next up is a quick introduction to how teleporting works. Get your VR headset and controllers ready, then press the Play button to get a good look at everything from the ground level. To remedy this, drag the prefab from the Razeware \ Prefabs folder into the root of the Hierarchy. The scene doesn’t contain a VRTK SDK Manager so you won’t be able to look around the world for yourself just yet. In this tutorial, you’ll only need to add GameObjects and components to the terrain.
This scene consists of two sections: the obstacle field and the terrain. To begin, open the starter project for this tutorial in Unity and look around the scene.
#The climb vr distance object optimization download
Use fixed positions for teleport locations.įirst, download the materials for this tutorial using the Download Materials button at the top or bottom of this page. Use destination points to cover large distances. If you start to feel sick, take a break and get some fresh air.
The body physics, climbing and arm swinging sections may especially cause discomfort if you’re not used to falling or forced movement inside a VR experience. Note: This tutorial contains different ways of moving around, some of which may cause nausea and disorientation for some people.