Search Unity

Question SteamVR Teleportation

Discussion in 'VR' started by aschikorr, Jan 19, 2022.

  1. aschikorr

    aschikorr

    Joined:
    Oct 27, 2018
    Posts:
    2
    Hi,

    At the moment I'm working on a small VR application with teleportation in Unity. I use the SteamVR plugin. My teleportation area is a simple plane.
    What I want now is that it is possible for the user to teleport to a place where there is already an obejct, for example to pick up a coin. The default teleportation prevents this as soon as the teleportation arc reaches an object. Does anyone have an idea how to get around this, or how to solve the problem in general?
     
  2. aschikorr

    aschikorr

    Joined:
    Oct 27, 2018
    Posts:
    2
    Anyone maybe?
     
  3. Phenotype

    Phenotype

    Joined:
    Oct 26, 2010
    Posts:
    53
    I suspect that the object is not in the Area so you can't teleport to it. And you wouldn't want to teleport onto the coin. You want to teleport onto the space occupied by the coin. My guess is you need to make it so the teleportation ray doesn't interact with the coin collider.