Skip to content

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

@1921798757

Description

@1921798757

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions