if you exported the meshes let's say from 3dsMax by selecting them all,then all of them must reside inside children array. But if you use Flash Builder you can check it in debug window.
On Fri, Jul 16, 2010 at 6:24 PM, JJ <[email protected]> wrote: > The problem is that when I load the collada, the array > ObjectContainer3D.children has only one entry. Are my meshes located > inside of that one? > > On Jul 16, 9:16 am, Michael Iv <[email protected]> wrote: > > you way is the correct one. If the imported object is ObjectContainer3D > it > > has an array of childrens of meshes. so you can extract each mesh from > the > > model by something like this: > > > > var extractedMesh:Mesh=myObjectContainer3D_daemodel.children[someIndex] > as > > Mesh. > > > > :) > > > > On Fri, Jul 16, 2010 at 6:09 PM, JJ <[email protected]> wrote: > > > I am importing a Collada file that has several meshes, I'm not sure > > > how to get the individual meshes. Ive tried .children, but there is > > > only one entry ( a cube ). I know that its possible, I've imported the > > > exact same file into fabrice's preFab 3D. And that gives a breakdown > > > of the mesh hierarchy. > > > > -- > > Michael Ivanov ,Programmer > > Neurotech Solutions Ltd. > > Flex|Air > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp:// > www.meetup.com/GO3D-Games-Opensource-3D/ > > Tel:054-4962254 > > [email protected] > > [email protected] -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net http://www.meetup.com/GO3D-Games-Opensource-3D/ Tel:054-4962254 [email protected] [email protected]
