Replies: 1 comment 3 replies
-
heading = yaw / Math.PI * 180 simple as that |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Use case:
I want the user to be able to pan around an image and to "save" the angle they are looking at so the next time then load that image it initializes with the same perspective.
Attempts:
I feel like I am missing something obvious and hoping someone can point it out. Using the docs I can see how to get position data, but it is in yaw and pitch format. The panodata in the Equirectangular docs show poseHeading as a number from 0 to 360. Is there a way to get that value so I can store it and later set it?
Beta Was this translation helpful? Give feedback.
All reactions