Game Development Community

[Bug: Beta 1.1 Collada] Object Position Way Off in Animated Collada File - LOGGED

by Greg G · in Torque 3D Professional · 06/01/2010 (5:05 pm) · 3 replies

I have a simple animated flap. It rotates around a single axis.

When I export it as a Collada file I can import the resulting Collada file back into either Maya (source application) or 3Dsmax and it looks the exact same way it did when I exported it.

img684.imageshack.us/img684/1378/wheretheflapshouldbe.jpg

However when I load the file up in Torque 3D I get this:


img38.imageshack.us/img38/2712/whereitapearsint3d.jpg
The flap is way off from where it should be. It is animated but the position is completely wrong. Does anyone Have any idea what's going on here?

#1
06/02/2010 (2:30 am)
In colladaUtils.cpp, AnimData::interpValue, about line 320, replace:

*value = output.getFloatValue(0);

with this:

*value = output.getStringArrayData(0)[offset];
#2
07/07/2010 (11:35 am)
Logged as TQA-548
#3
07/07/2010 (11:38 am)
Logged by TQA-549