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

Change yaw parameter when click hotspot #465

Open
iwanttobefreak opened this issue Mar 4, 2024 · 2 comments
Open

Change yaw parameter when click hotspot #465

iwanttobefreak opened this issue Mar 4, 2024 · 2 comments

Comments

@iwanttobefreak
Copy link

Hello
You have 3 images in the same direction linked with hotspot. If you go from img1 -> img2 -> img3 the orientation is correct
But if you return from img3 to img2 the initial position (yaw parameter) is oriented to img3 and you have not the walking sensation.
It's possible to change online the yaw parameter when you click one hotspot or another hotspot?

@machimoo
Copy link

Yes, this property scene.data.initialViewParameters.yaw allow you to change the initial yaw when switching to a scene

@gamebeaker
Copy link

@iwanttobefreak I had the problem and created a little tool to help me: https://github.com/gamebeaker/marzipano-hotspot-view

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

3 participants