Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teleportation Ray in XR Interaction Toolkit visually bends towards Teleportation Area center, but logic works fine. #134

Open
1921798757 opened this issue Nov 19, 2024 · 0 comments

Comments

@1921798757
Copy link

Description:
I’m experiencing a visual issue with the teleportation ray in Unity using XR Interaction Toolkit 2.5.4:

When pointing the teleportation ray at a Teleportation Area, the ray visually bends toward the center of the area.
The teleportation logic works fine, and the player teleports to the correct position (the ray's actual endpoint).
However, the reticle (aiming point) also moves to the center of the area, even though the teleportation target is correct.
This issue only occurs when I press the teleport button (grip). Before pressing, the ray and reticle display correctly at the straight ray's endpoint.

Steps to Reproduce:
Use XR Ray Interactor with a Teleportation Area.
Configure the ray interactor to use grip (Select action) for teleportation.
Point the ray at a Teleportation Area and press the grip button.

Expected Behavior:
The ray should remain straight visually, and the reticle should display at the ray's actual endpoint (raycastHit.point).

Observed Behavior:
The ray bends visually toward the center of the Teleportation Area.
The reticle also moves to the area's center.
However, the player still teleports to the correct position at the straight ray's endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant