Hey, did anyone successfully add an obj oder as3 export from prefab into the bsp tree? i still have the problem that my obj only shows up when adding it to _view.scene but not _tree. i know that the bsp tree is not able to show objectcontainer3d, but i`m nearly sure that my obj is no objectcontainer3d. how can i trace the type of my object?
greets manu On 22 Nov., 12:43, Tony Brown <[email protected]> wrote: > thanks for the link this will help me :) > > On Thu, Nov 18, 2010 at 3:52 PM, John Wilson < > > [email protected]> wrote: > > 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 -
