Search Unity

Question How to activate thumbstick teleportation in XR Toolkit 2.3.1?

Discussion in 'XR Interaction Toolkit and Input' started by vardnan, Apr 25, 2023.

  1. vardnan

    vardnan

    Joined:
    Apr 16, 2022
    Posts:
    5
    Based on my observation of the example projects using XR Toolkit 2.3.1, it appears that one can utilize the thumbstick to move to a specific location that corresponds to the position of the ray and reticle.

    However, when using the "Complete XR Setup" prefab that comes with the XR Toolkit, the teleportation ray does not turn active (remains red) when I attempt to move to a teleportation area by pushing the thumbstick forward.

    Currently, the only way I can teleport is by directing the ray towards a teleportation area/anchor and pressing the grip button. How can I activate the thumbstick teleportation function?
     
  2. ericprovencher

    ericprovencher

    Unity Technologies

    Joined:
    Dec 17, 2020
    Posts:
    267
    You need to add a teleport area component to a gameobject that has a collider in the its children (or on it).

    If you check out the demo scene in the starter assets, you'll find how to configure all this.

    upload_2023-4-25_12-23-53.png

    upload_2023-4-25_12-23-8.png