If its a ObjectContainer3D it wont work try adding your model as a Mesh or
Object3D. BSPTree as far as i know doesnt accept ObjectContainer3D.

On Thu, Nov 18, 2010 at 9:12 AM, le_unam <[email protected]> wrote:

> the code i use in my main class for adding my obj file is the
> following:
>
>
> import away3d.loaders.MyMan;
>
> private var superMan:MyMan;
>
> superMan = new MyMan(10);
> _tree.addChild(superMan);
>
>
> is this the correct way to add objects or did i something wrong?
>
> On 18 Nov., 13:19, le_unam <[email protected]> wrote:
> > Hey ... i tried a little bit with adding an obj to the bsp tree and it
> > doesnt work for me ^^
> >
> > the model is shown when i take _view.scene.addChild but not when
> > adding to the tree _tree.addChild. I searched in this forum and found
> > that i should load the obj into prefab and export an as3 file. i did
> > this and imported the class into my main class but then it is the same
> > issue. the model is only shown when adding to _view.scene, but not to
> > the tree.
> >
> > any ideas? = /
>

Reply via email to