Remove teleport from left hand?

This should be quite simple, but nope…

How to remove teleporting and interactor ray from left hand?
ray creates that blue teleport reticle, even if disable most left hand features.
(Can delete the component, but causes errors from some other unity xr scripts…)

using this project, GitHub - Unity-Technologies/XR-Interaction-Toolkit-Examples: This repository contains various examples to use with the XR Interaction Toolkit

*also as a feedback, would be nice to have ready to use system, like steamvr was - didn’t have to rebuild/re-invent standard vr controls…

if you’re not using your left hand to teleport I would assume you’re going to use it as a continuous move provider? If so, you’ll need add your continuous move provider component to your XR rig. If you still don’t want the line renderers active you can disable them from there. You’ll need to go to your XRI defaults and assign your continuous move inputs and also go into your preset manager to assign the continuous move provider to the “Left” hand to make it move your xr rig around.

i’d prefer using right hand for teleport,
left hand could still have the ray interactor for clicking things (but for now, would be also enough to remove that)

if just remove those components “xr interactor, linerenderer, line visual” and gameobject “LeftTeleportController” from left hand, it breaks the controller somewhere… not sure how or where to disable references to those parts.

i’m thinking that building the xr rig from scratch would be the only good option,
but documentation doesn’t really help much there…

i think i found the perfect tutorial now, this should solve it:

The simplest solution is to delete the entire LeftTeleportController GameObject from under the LeftHand and make sure the TeleportControllerGameObject, TeleportModeActivate and TeleportModeCancel references in the ActionBasedControllerManager are set to None. This will produce a warning on play, but you can also edit the script to trim out the teleport functionality or add a toggle to turn this on/off depending on your own configuration.

8061593--1041206--upload_2022-4-19_12-50-14.png

As a side note, we are planning to release a more comprehensive template project in the very near future that will cover this scenario. We’ll be posting about the project and updated XR Interaction Toolkit at that time. Stay tuned!

1 Like

Hi! Was this update ever released? I’m trying to do the same thing (remove grip teleport behavior from left hand only). I don’t want to remove the lefthand controller since it’s used elsewhere. Thanks!

Wondering the same. Is there an elegant way to enable/disable Teleport at runtime?

I tried this and it’s still teleporting. I even deleted the teleport interactor from the hand, but no luck. I’m using the Complete XR Origin Set Up Variant from the example project. So weird, removing these settings and even removing the teleport interactor literally changed nothing. Can still see the teleport ring and everything.