I’m having some trouble with SplineIK. I made a rope with bones, animated on a curve. I used spline IK and at the end I baked it before exporting. Everything works well in Blender before exporting, but after I export it (DAE, FBX, whatever) the result is completely different as it should be.

In the video you can see the difference between the correct animation (selected in pose mode) and the baked/exported/imported one.

https://www.youtube.com/watch?v=VIEfzo7iqjo

Could someone help me solve this?

This is a scaling artifact that happens when Y-stretch is enabled. The bone scales get applied additively down the chain, because the bones are parented to each other, resulting in an odd shape.

What you need to do is: Copy the SplineIK bone chain, delete the SplineIK constraint in this new chain and unparent all the bones from each other. Than add copy transform constraints to every bone in the chain, targeting the matching bone in the SplineIKchain. Make this new chain deform the mesh, disable deform for all the bones in the original splineIK bone chain and enable only deform bones in export.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.