Camera resets when changing src #3290
Unanswered
designbyadrian
asked this question in
Q&A
Replies: 1 comment 5 replies
-
This is intended behavior, especially since different models might be at vastly different scales, so if the camera didn't move it could end up inside the new object, or looking at blank white. If you know your models all have the same bounding radius, then it shouldn't be too hard to use |
Beta Was this translation helpful? Give feedback.
5 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.
-
Description
Steps to reproduce:
src
attribute to another GLBExpected result:
Model is updated, with the camera at the same position as before
Actual result:
Camera is reset, zooming out to the initial on load.
Live Demo
Please see below:
https://joyous-plain-offer.glitch.me
Version
Browser Affected
OS
Beta Was this translation helpful? Give feedback.
All reactions