I am currently working on a FlarToolkit / Papervision3D / Quake2 model parsing, that I have successfully loaded, textured, and animated. That being said, the animation calls are merely a guess to me and so far all I know is that "jump" and "run" are available. When i use the built in getAnimationChannels() of the MD2 class, it merely returns and array of MorphChannel3D Objects as follows.
//md2 is a model that is already loaded and waiting utilizing the given events for such.
trace(_md2.getAnimationChannels()); //returns [object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D],[object MorphChannel3D]
From what I have seen in my own searches, this should be returning an array of the channel names in String form. I attempted to extract properties from the MorphChannel3D Object with no success using for each(var p:* in Object);
Where am I going wrong, and how can I obtain the name of the animation channels so that I may call them at will?
Thanks.