Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

ResetHeadRotation for GVRRenderer doesn't work when the phone is in portrait #322

Open
Parmenione opened this issue Jun 21, 2018 · 0 comments

Comments

@Parmenione
Copy link

I built an application in Swift with an extension of GVRRenderer. The user can view images in mono or stereoscopic version and navigate between different scenes ( change image on sphere). When the user changes scene, we should reset head rotation. This works fine when the view controller is fixed in landscape, but when the view is fixed in portrait it sometimes fails: the view is rotated of π. We tried to check the orientation of the camera after calling ResetHeadRotation: sometimes it turns out to be correct (- z) but the view drawn is wrong.

Is there any solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant