O'Reilly logo

Away3D 3.6 Cookbook by Michael Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with MD2 animations

MD2 animation format is quite popular among Away3D developers. This is a lightweight binary format and therefore parsed much faster than XML-based Collada animations. In Chapter 9, Working with External Assets, you can learn how to set and export MD2 animation using MilkShape software. Here you will learn how to set it up and play in Away3D.

Getting ready

There is a little compatibility problem with the current MilkShape version. When you check the animation sequence name in Flex debugger after the parsing has been finished, you would notice that there are some non-alphabetic characters added to the initial name such as these "- ½{-x". You have two options in this case—just copy and paste such a name into the accessAnimationByName() ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required