Hey guys,

I'm trying to use animation-clips using skeleton/bones animation, and
I think I've found something wrong on the Collada parser:

According to the Collada specification the attributes start/end on
<animation_clip> is optional, and Away3D does it correctly. But when
you provide the values, the parser seems to ignore it. The start/
length properties are always set by the value of the "main" animation.
A quick fix for that was changing this block in Collada.as:

if (_animationData.start > times[0])
   _animationData.start = times[0];

if (_animationData.end < times[times.length-1])
   _animationData.end = times[times.length - 1];

to this:

if (_animationData.start < times[0])
   _animationData.start = times[0];

if (_animationData.end > times[times.length-1])
   _animationData.end = times[times.length - 1];

Is this intentional? Or could it be my exporter plug-in (FCollada
v3.05B, 3ds 9) that is not working properly?

Thanks!

Reply via email to