Page MenuHome

Collada exporter ignores bones affected by IK
Closed, ArchivedPublic


Blender fails to export animation tracks where skeletons have IK chains. Such bones are ignored instead of sampled (no <animation> track is generated). I understand that this may probably be a though fix (given IK will have to be processed upon export) , but collada support will remain useless for any kind of character animation export while this bug remains..

Attached is a simple test that exports wrong.


To Do

Event Timeline

Assigning to Nathan for investigation.

I second that this can be a severe blocker for workflows that rely on IK chains and require animated models in Collada format.

Fortunately, as a temporary solution, it is possible to bake the IK actions before exporting as Collada.

bpy.ops.nla.bake(frame_start=bpy.context.scene.frame_start, frame_end=bpy.context.scene.frame_end, step=1, only_selected=False, clear_consraints=False, bake_types={'POSE'})
# Note the typo in the API!!! ("clear_consraints")

Successfully used this to export the animations to a .dae file from the OP's example noikexport.blend, and the baked animations are preserved.
(Blender 2.60.0 r41226 on Mac OS X 10.6.8)

This isn't really a bug but a missing feature currently, it exports without baking in constraints, considering this todo item.