#1
|
|||
|
|||
.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.
|
#2
|
|||
|
|||
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) . . . viz.add('file.dae') |
#3
|
|||
|
|||
Quote:
Thank you this solves my problem. It seems the scale was out of whack. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to render a texture of the transparent object and then blur it | whj | Vizard | 1 | 09-25-2012 03:15 PM |
Camera distance problem | CRI | Vizard | 0 | 07-28-2010 10:58 AM |
rotate camera about an object | dwaik | Vizard | 2 | 02-09-2010 01:06 AM |
retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 04:26 AM |
rotate to object | jargon | Vizard | 1 | 08-08-2005 12:20 PM |