An issue with orbit/target translations based on camera-change event from model-viewer #3347
Unanswered
karanganesan
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Our zoom feature changes both camera radius and field of view; you just forgot to set the second one. |
Beta Was this translation helpful? Give feedback.
0 replies
-
hey @elalish, tried added fov also, still I see the issue... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi, not sure what exactly is the bug, but I have created a glitch url for the same
code - https://glitch.com/edit/#!/leaf-necessary-toad?path=index.html
live - https://leaf-necessary-toad.glitch.me/
so you can move in 1st model-viewer on top, I have added listener for camera change on viewer #1 and get the model orbit and target and apply it to viewer #2
it's not translating 1:1
Live Demo
https://leaf-necessary-toad.glitch.me/
Version
Browser Affected
OS
This is how I translate the values from one viewer to another
Video of the issue
Screen.Recording.2022-04-06.at.9.00.09.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions