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

managing device position offset while paused #19

Closed
stanchiang opened this issue Mar 26, 2017 · 0 comments
Closed

managing device position offset while paused #19

stanchiang opened this issue Mar 26, 2017 · 0 comments

Comments

@stanchiang
Copy link

i'm toying with the play/pause feature where upon going from play to pause the motion tracking pauses as well. before going back from pause to play, the orientation of the phone could change. for example, i could resume watching turned 180 degrees from where i was before.

as a result, upon resuming the device orientation tracking will update the view to show me the content that is 180 degrees from the frame in which i paused.

my goal is to make it such that when i resume playback under my new orientation, i will be able to resume watching from the angle in which i left off and still have the device motion tracking update as i move around while the video is playing again.

i'm struggling to understand how i'd accomplish this as i'm not very experienced thinking in 3d graphics.

how would you offset/update the orientation/quaternion based on the previously paused orientation to solve this use case?

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