Issue when exporting animated model as AS3?

Software: Prefab3D

Thomas Weiss, Jr. Member
Posted: 29 March 2013 06:03 AM   Total Posts: 35

Hi,

Still playing with AS3 exports, I’m having an issue but I don’t really know if that’s coming from Away3D or Prefab3D.
Starting from the same PolarBear model, I export it as AS3, load the generated classes and try to playback the “Breathe” animation without looping. Once the animation reaches its end, an Error is generated because we try to access _frames[31] whereas there are only 31 frames in the clip.
I understand that this comes from the fact that the code generated by Prefab3D sets

rootNode.stitchFinalFrame true
which has the effect that
_lastFrame _numFrames 

(AnimationClipNodeBase.as, line 171 in 4.0.9).

I’m clearly not an expert in animations, but would that mean that setting stitchFinalFrame to true is not compatible with the model’s animation?

Thanks again for your help,
Thomas

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X