Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    9
    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:
    243
    This is a known issue and we're working on a fix internally. Sorry about the inconvenience!