Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load video orienting the camera to the real world horizon #15

Open
catchakos opened this issue Apr 26, 2021 · 0 comments
Open

Load video orienting the camera to the real world horizon #15

catchakos opened this issue Apr 26, 2021 · 0 comments

Comments

@catchakos
Copy link

What should I do to have the loaded video oriented to the real world horizon?

Everything works fine and I see that by calling reorientVerticalCameraAngleToHorizon(animated:) the video is getting re-oriented to where the device is currently looking at.
But what if I want the video initial state orientation to match the real-world orientation, so as the first thing I see when I have the phone pointing to the ceiling is the sky?

Thanks in advance!

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

No branches or pull requests

1 participant