Line Visual Snapping on Teleportation Area

If you create an XR Origin with Ray Interactors, then set up a Teleportation Area, you’ll find that when you try to select anywhere on the teleportation area the line visual will snap to the origin of the object. This is technically solvable by going onto the XR Interactor Line Visual component and changing the line bend ration to 1, but I wish there was a way to allow line bending on stuff that matters while preventing it on the Teleportation Area. Note that the teleportation still happens at the intersection of the now invisible raycast with the teleportation area, so the bending is actually removing information from the interaction. Unsure how to disable this line bending for teleportation areas. Feels like a bug.

9348563--1307711--TeleportationRaySnapping.gif

+1
I observe the same problem and wish there was a proper solution for this.

+1
I’ve noticed it too using the XR Interaction Toolkit 2.5.2 with Unity 2022.3.16f1. I’m still looking for a solution, haven’t found one yet.

Still same bug…

Hello all, thank you for letting us know about this issue. We will try to reproduce this on our end. In the meantime, can you please file a bug for this using Help > Report a bug… inside the Unity Editor. Thank you!

Hi folks, just a quick update here. We’ve recreated this and are adding some configuration to help handle this case. In the mean time, I wanted to point out another possible solution is to use a projectile curve or Bezier curve as the line type of the ray interactor. This should prevent your teleport interactor from bending to middle of the teleport area. This setting can be found at XR Ray Interactor > Raycast Configuration > Line Type. An example of this kind of teleport interactor can also be found in the Starter Assets sample on the Teleport Interactor prefab (which after importing the sample can be found at Samples > XR Interaction Toolkit > (XRI Version) > Starter Assets > Prefabs > Interactors).

I just wanted to add that I’m seeing this for all my buttons. The “straight line” suddenly curves to the center of the button on-click. It started as a minor annoyance, but one of my buttons is actually a color picker, which needs the pointer to point straight anywhere on the button, not just the center. Swapping to “Bezier” with the two Height settings set to 0 fixed it, but it’d be nice to have a cleaner solution.