Model viewer autoplay goes beyond set camera limits #4947
Unanswered
henrik-dons
asked this question in
Q&A
Replies: 1 comment
-
Not currently. It's because technically |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hello there,
When I set model viewer camera limits, the autoplay does not respect the set limits.
It keeps rotating 360 degrees.
Example code:
<model-viewer touch-action="pan-y" camera-controls="" interaction-prompt="none" src="logo-updarted.glb" alt="3d logo upload" ar="" ar-placement="floor" ar-scale="fixed" min-camera-orbit="-120deg 20deg auto" max-camera-orbit="120deg 140deg auto" auto-rotate="" ar-status="not-presenting" class="">
Modelviewer version 4.0
Is there way to rotate back when limit is reached, and vice versa?
Let me know!
Beta Was this translation helpful? Give feedback.
All reactions