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

My Orientation is tilted for some reason...

Discussion in 'AR/VR (XR) Discussion' started by astracat111, Jun 23, 2019.

  1. astracat111

    astracat111

    Joined:
    Sep 21, 2016
    Posts:
    725
    [Solved below, sorry for the dumb post!]

    Hello there, I've been using WMR with OpenVR and so far everything has been great, but there's a problem that's propping up and that's in it's orientation.

    Here are two screenshots to show you what I mean. I'm wondering if anyone has encountered this before and what their fixes might be. I think I encountered this back when I was developing simple projects for GearVR as well, so maybe it's not just the (hopefully) WMR platform I'm thinking:


     
  2. astracat111

    astracat111

    Joined:
    Sep 21, 2016
    Posts:
    725
    Oh man this was dumb of me. I have a parent object to my camera called Camera_Parent and then all the Cameras are children of that game object. The reason I did this is for teleporting. I just had to make sure the X rotation of my Camera_Parent game object is always 0 no matter what when using VR.