var explode:Explode = new Explode(); explode.apply(myPlane); done! :)
pass true to constructor and each face is a unique mesh on itself Fabrice On Sep 17, 2010, at 3:21 PM, Revalis wrote: > Hey guys, trying to build a function that will, in effect, shatter a > primitive plane. To test, I have segmented the plane into a 5x5 grid, > but I can't seem to be able to actually 'break' each face into a > separate entity. > > When I use the .offset() command on the faces, I just end up with a > deformed piece of mesh, as opposed to seeing each triangle shifted > away from the base (which makes sense, considering each vertex is > shared). > > I've also tried to loop through each face on the plane to .clone() > each one to a new Mesh... But this doesn't seem to produce any visible > result. > > > Any ideas?
