How to get change in orientation and scale? #4015
-
Hello, I am trying to read the orientation and scale of the 3d model loaded in model viewer. I am listening to Can anyone please suggest what is the proper way to get change in orientation and scale of the model? I have created a glitch url for the same. Any help will be appreciated. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ah, got it. This was because during zoom, camera orbit changes and not the model's orientation and size. I updated the code to read values from Thanks. |
Beta Was this translation helpful? Give feedback.
Ah, got it. This was because during zoom, camera orbit changes and not the model's orientation and size. I updated the code to read values from
getCameraOrbit()
.Thanks.