mm, I did few weeks ago some little test with it, I'll try find it back and post the magic snippet.
Fabrice On Apr 26, 2011, at 9:34 PM, KZ wrote: > Ok now I'm using version 3.4 and, with this correction > http://markmail.org/message/fv2bq72tdltasxlq the cube example works. > > Problem is that, when I load my mesh (exported with prefab as f10 as3 < > 3.5.3), I could see the face but it doesn't animate at all..I just tried to > use my low1 (low poly model, consisting of 790 polys and 775 vertices) > instead of the cube. It's just freezed. > > Any suggestions? > > > var AS3Material:BitmapMaterial = new BitmapMaterial(Cast.bitmap(AS3Material)); > > var cube:Low1 = new Low1({width:350, height:350, depth:350}); > var cube2:Low1 = new Low1({width:500, height:50, depth:250}); > var cube3:Low1 = new Low1({width:150, height:450, depth:50}); > var cube4:Low1 = new Low1( { width:650, height:250, depth:550 } ); > > _anim = new Animator(cube, [{vertices:cube2.vertices, prefix:"cube01"}, > {vertices:cube3.vertices, prefix:"cube02"}, > {vertices:cube4.vertices, prefix:"cube03"}, > {vertices:cube2.vertices, prefix:"cube04"}] , > {material:AS3Material, y:0, x:0,z:0,bothsides:false}); > this.scene.addChild(_anim); > > _anim.play(new AnimationSequence("cube", true, true, .3)); > > > Thanks :) > >
