Unity Cardboard Orientation Landscape Right Upside Down

前端 未结 5 627
挽巷
挽巷 2021-01-21 10:25

Hi I have a Unity app which uses google Cardboard SDK to enable stereoscopic view so I will have a VR enabled app. My app runs perfectly fine.

But there is a problem if

5条回答
  •  生来不讨喜
    2021-01-21 10:58

    You can just add:

    headPose.Set(headPose.Position, headPose.Orientation * Quaternion.Euler(0,0,180));
    

    at the and of UpdateState() of BaseCardboardDevice class. It fixed this problem for me regardless of how I turned the devices I tried it on. Unity 5 cardboard SDK v0.5.1

提交回复
热议问题