Hi, Look at:
http://john-wilson.110mb.com/bsp_tutorial/bsp_tutorial_index.html the ActionScript part of the tutorial may help. Regards, John Wilson On Nov 18, 2:12 pm, 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? = /- Hide quoted text - > > - Show quoted text -
