.dae object following camera
I used sketchUp to create a level and I exported the level as a .dae file. The level loads just fine, but if I move the camera the entire loaded level moves with it. All I did was viz.add(.dae). I have no clue why a loaded .dae file would do this.
|
Does it also turn with the camera, or just move? If it's only moving, then it sounds like the scale of the model is very large. In this case try scaling it down. You can also try adding the following line of code before adding the model:
Code:
viz.setOption('viz.model.apply_collada_scale',1) |
Quote:
Thank you this solves my problem. It seems the scale was out of whack. |
All times are GMT -7. The time now is 05:06 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC