Hi Olee,
Welcome to Away!
for your md2, if you do not will make the same md2 url dynamic
you indeed can export to as3.
Use the Mesh method (the animation export is not yet implemnted in the
as3Exporter class)
like this
myloadedmd2.asAS3Class("Coolname", "coolpackagename", true, true);
save the clipboard in textapp as Coolname.as
then add to your code, import coolpackagename.Coolname;
var myanim:Coolname = new Coolname();
view.scene.addChild(myAnim);
from now on, "driving the animation is the same for AS3 or md2, same
rule for Animator native class.
myAnim.play(new AnimationSequence("run", true, true, 10));
in your enterframe, add the line
view.scene.updateTime();
you have a whole collection of methods, event that can be used, set...
this should help you get started. --> read the online doc
Fabrice
On Jun 17, 2009, at 12:59 PM, [email protected] wrote:
Hi Group,
first of all - this is my first project using the away3d library and
iam pretty anticipated to work with it. but unfortunately the
timescale for the project is quite tight so maybe i have to ask some
silly questions instead of enjoing the learning process :-)
First thing: i have to animate a character, which is exported from max
as md2 with different animated sequences. the sequences has to be
imported, played and blended over.
So far i think the best way is to convert the md2 as as3 - but from
this point iam confused how do i have to use the animation-engine from
away.
Is it just a : instance_of_seq_01.play(),
or do i have to use the AnimationSequence ? (instance.play(new
AnimationSequence("run", true, true, 30)))
Is there somewhere a quick rundown which is the best way to do this i
havent seen yet?
Or is somebody willing to push me in the right direction?
Thanks in advance,
Olee