Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question VR Meta Quest SDK: Teleport to a location and disable controller movement + teleports

Discussion in 'VR' started by haakonflaar, Nov 24, 2023.

  1. haakonflaar

    haakonflaar

    Joined:
    Jun 13, 2023
    Posts:
    12
    I am building a VR game using the new Meta XR SDK (previous Oculus Integration). I want the user to be able to press an object (using ray interaction), and get teleported to that location with a given rotation. Then I want to disable all form of movement either with controllers or hand tracking - the only movement possible should be physically moving around. I also want the player to be stuck to the same y-position level (and not fall due to gravity). To resume controller movement and hand teleportation I want the player to ray interact with another object. Any idea how I can do this?
     
    Last edited: Nov 24, 2023