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

Question Default XR Controllers Appearing Reverse

Discussion in 'VR' started by sreen999, Jan 14, 2023.

  1. sreen999

    sreen999

    Joined:
    Nov 24, 2020
    Posts:
    5
    Hello!

    This is my first time trying out VR development in Unity and I'm just trying to do the basics. I am following a tutorial on youtube (this tutorial specifically) and found that when I drag in the default XR prefab controller into the Model Prefab of the XR Controller, it appears to reverse when played. All interactions like grabbing still work fine, it is just the appearance of the model that is wrong.

    Here is the XR Origin
    upload_2023-1-14_13-17-5.png
    It contains a Camera Offset and a Camera
    upload_2023-1-14_13-17-51.png
    upload_2023-1-14_13-18-11.png

    I then have two Controllers that are children of XR Origin that both have XR Controllers with Prefab controllers given for the Model Prefab
    upload_2023-1-14_13-19-47.png
    upload_2023-1-14_13-20-28.png

    Both prefabs have been zeroed out so it is not an issue of them being reversed.


    Any help would be appreciated this has been bugging me for hours, thank you!
     
  2. sreen999

    sreen999

    Joined:
    Nov 24, 2020
    Posts:
    5
    What it currently looks like in-game
    upload_2023-1-14_13-28-18.png
     
  3. ybradette

    ybradette

    Joined:
    Sep 20, 2020
    Posts:
    8
    I had to put a dummy gameobject under the controller obj in the hierarchy then rotate the Y by 180. When binding the Model Parent, bind it to the dummy object. should work fine.