Hey all,

I've been using the amazing Prefab quite a bit lately to do lots of
little things such as normal maps, scaling, and exporting static
models. However, I haven't been able to export an AS3 with animation
as of yet.

I've got an MD2 model with animation which was built in Blender by a
3d artist. The MD2 loads into Away3D fine, and loads into prefab ok as
well. But when I try and export it to an AS3 Away3D class, and load it
into Away3D i get this error (my class name is Rock):

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
        at away3d.core.base::VertexPosition/adjust()
        at away3d.core.base::Frame/adjust()
        at Rock/setMeshAnim()
        at Rock/buildMeshes()
        at Rock()

if I comment out this line:

if(ref.meshanimated) setMeshAnim(this, ref, oList.length);

I can get the model to load, but of course, it doesn't animate. Anyone
have any idea why?

Kevin.

Reply via email to