Yeah I found the problem ,I had to change .objectspace to false now it creates meshes chunks well . But I thing I must use adjacent array position of meshes in order to merge them in the same shape no?
On Thu, Oct 1, 2009 at 5:10 PM, Fabrice3D <[email protected]> wrote: > meshreceiver, meshtomerge > basically at certain settings the explode class make each face becoming a > single face mesh > > in your loop, you just start with first face as mesh, and merge for a > random count to this first mesh > then while looping when your random face count per mesh is reached, define > new reciever mesh > and repeat process > so say without randomness that you end up with 250 "mesh faces" after the > explode > if you say the piece must old 25 faces, in your code you will have to > change mesh receiver 10 times > > push the ten pieces merged in array during loop, at the end of loop > use the mesh array to drive your animation > > looking at your jpg, I suppose you make a mistake somewhere... > may be make sure in loop that the face is the face sharing vertexes for > instance?? > > Fabrice > > > On Oct 1, 2009, at 4:35 PM, Michael Iv wrote: > > Sorry for being stupid but what are the tow parameters to be in Merge > (mesh1:,mesh2) . Is the mesh1 and mesh2 are the child meshes of exploded > Object3D? > > On Thu, Oct 1, 2009 at 3:27 PM, Fabrice3D <[email protected]> wrote: > >> thats what I've said, use after unique meshes (Explode class) to regroup >> some parts together using the Merge class. >> >> var m:Merge = new Merge(true); >> >> in your loop >> m.apply(facesgroup, face[i]); >> >> your work to define the amount of face in facesgroup and its randomness >> >> Fabrice >> >> On Oct 1, 2009, at 2:55 PM, Michael Iv wrote: >> >> Yeah but I would like to explode it in chunks and notevery single face >> separately... >> >> On Thu, Oct 1, 2009 at 2:38 PM, katopz <[email protected]> wrote: >> >>> >>> maybe this help? >>> >>> http://blog.r3c7.net/?p=420 >>> >>> hth >>> >>> On 01/10/2009, Michael Iv <[email protected]> wrote: >>> > Fabrice you are the best ,but I lost you on merging the Faces with >>> Merge >>> > class. May be you can give a small example for Merge Class usage? I >>> basicly >>> > need to separate the model to small chunks of groups of faces >>> > Thanks >>> > >>> > On Thu, Oct 1, 2009 at 2:23 PM, Fabrice3D <[email protected]> wrote: >>> > >>> >> >>> >> Explode class may be?? >>> >> If you do not want to have each face as a unique mesh, but bigger >>> parts, >>> >> say groups of faces. >>> >> you can set up some random loop over the faces and merge some parts >>> during >>> >> the loop using The Merge class >>> >> then animate the explosion/fall apart. >>> >> >>> >> Fabrice >>> >> >>> >> >>> >> >>> >> On Oct 1, 2009, at 2:10 PM, Michael Iv wrote: >>> >> >>> >> >>> >>> >>> >>> Hi,All >>> >>> >>> >>> >>> >>> How can I cut a mesh to small ones .I need to explode a model after >>> it >>> >>> receives number of hits in the game i am working on. >>> >>> >>> >>> Thanks >>> >>> >>> >> >>> >> >>> > >>> >>> >>> -- >>> katopz >>> http://www.sleepydesign.com >>> >> >> >> > >
