Objective: Understand the difference between Anchor and Area and how to implement an Anchor.
When creating a teleport system you have two options. We have been using a teleport area and now with the first obstacle in my scene I want to set up line of anchors. When you select and anchor you the blue line indicates the forward facing of the anchor and then the player teleports to the anchor that is the direction they will be facing.
Knowing this I’ve made a path using these anchors.
You need to remember when setting up these anchors that their layer mask is set to teleport only.
Now if you load into your VR you will be able to select the anchor you’ve created and teleport to it. When you do you will be facing the direction you’ve chosen and you can teleport to the next anchor and so on. These are great way to navigate and control the direction of the player at the same time.
It’s not perfect yet, in the next tutorial we will go more in depth and clean the teleporting up. Don’t be afraid to experiment with your anchors and I’ll see you in the next tutorial!