Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved XR Interactor Line Visual - Reticle points to the wrong direction.

Discussion in 'XR Interaction Toolkit and Input' started by eitanbariboa, Aug 25, 2022.

  1. eitanbariboa

    eitanbariboa

    Joined:
    Mar 19, 2020
    Posts:
    26
    Hello i got a XR reticle problem where it points to the wrong direction instead of always up on UI (Images to demonstrate).
    I am using XR Interactor Line Visual (XRToolkit) and set the gameobject reticle.

    it works find if the UI is in a certain rotation (0,0,0). but if you change the UI rotation it starts to rotate itself and not point to the direction UP (the top of the UI).


    even if i am rotating the UI only in one axis but the direction of the reticle changes towards down.


    Edit: i made my own script to handle the reticle, position and rotation.
     
    Last edited: Aug 28, 2022
  2. kgerontis

    kgerontis

    Joined:
    Mar 28, 2017
    Posts:
    1
    Hey there, I'm having a similar issue. Did you find a solution to this?
     
  3. Volorf

    Volorf

    Joined:
    May 9, 2017
    Posts:
    8
    Hi!

    Have the same. Did anyone fix it?

    Edit: Didn't see your edit. Is there a way to do this without writing your own script? It just looks like a bug from Unity's side.
     
  4. ericprovencher

    ericprovencher

    Unity Technologies

    Joined:
    Dec 17, 2020
    Posts:
    156
    This is a known issue and we're working on a fix internally. Sorry about the inconvenience!