well, if you just import your keyframes models (at dev time you also
can save them natively as AS3)
you can then generate the "md2" natively in Away, no need to have 3d
party app for this, you can define the prefixes as you wish.
Look at the Animator class
http://away3d.com/tutorials/tutorial-how-to-use-the-animator-class
Fabrice
On Aug 29, 2008, at 1:46 PM, Beka Master wrote:
Fine,
but still have a problem, I've generated and animated the model by 3D
Studio Max 8, next I've imported in MilkShape and rexported to MD2, I
don't know how to set the frameprefixs. There is some tool to set the
frameprefixs?
-Beka
On 29 Ago, 13:26, Fabrice <[EMAIL PROTECTED]> wrote:
Hey Beka
you need to import away3d.animators.data.AnimationSequence;
AnimationSequence(prefix:String, smooth:Boolean = false, loop:Boolean
= false, fps:Number = 24)
md2.play(new AnimationSequence("frameprefix", true, true , 24));
you also can add a cycle event if you need to like
md2.addOnCycle(myfunction);
if you have more prefixes, you can also use setSequence() to generate
logical combinations of moves
like "hit", "fall", "roll", "die"... they would be played after each
other on a linear fashion like a single animationsequence
You then can add sequence listeners...
you have access also to play, stop, goto, framenumbers etc...
Fabrice
On Aug 29, 2008, at 12:55 PM, Beka Master wrote:
Hi guys,
I've a md2 animated file (exported by MilkShape), for get a loop
animation in Papervision3D I use this code:
...
myMD2.loop(1,200);
...
and it works.
There's some fast method like this in Away3D?
plz help.- Nascondi testo citato
- Mostra testo citato -