Is there any way to fix the camera bounds when switching models #3563
Unanswered
PROJECT-SPARKS-LTD
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Yes, simply use:
https://modelviewer.dev/docs/#entrydocs-stagingandcameras-methods-getCameraOrbit |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
We are nearly complete on building a small product configurator demo but have become stuck this last hurdle.
I have a base product that loads on first view with several buttons that can swap in different versions of this product with additional attachments.
With the default Model Viewer behaviour it seems that on loading a larger model the camera reframes the scene using the new models larger bounding box. Is there anyway to disable this functionality?
When loading the new model I would like the camera to maintain its original zoom level even if this means the larger object is clipped by the edges of the viewer.
Mockup below:
Beta Was this translation helpful? Give feedback.
All reactions