IMPORTANT:

All Oculus Quest developers MUST PASS the concept review prior to gaining publishing access to the Quest Store and additional resources. Submit a concept document for review as early in your Quest application development cycle as possible: https://developer.oculus.com/quest-pitch/

For additional information and context, please see "Submitting Your App to the Oculus Quest Store".
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Does anyone know a step by step explanation of how to implement the teleport feature in Unity?

Oculus VR implementation is simply broken.. are there any alternatives that actually work on Oculus Quest?

Answers

  • MikeFMikeF Posts: 740
    Neo
    This is such a highly requested feature but its one of the easiest things to implement on your own.
    1) Get input from controller to prompt teleport sequence (ex: hold A button)
    2) While button is down, raycast forward from the controller and return hit position
    3) On button release, transform.position = raycast.hit.position;

    The rest is just visuals.
    More info about raycasting here https://learn.unity.com/tutorial/3d-physics#5c7f8528edbc2a002053b515

    I'd highly recommend trying to learn this yourself, if you can get over these early roadblocks your abilities and skills will grow, instead of always relying on others :)
Sign In or Register to comment.