SplineIK to Unity

I have a snake built with a spline IK, that I’d like to use in Unity. I’m using FBX. I want various parts of the snake to move when an object gets near them. I’ve been able to do build separate animations OK with the Action Editor. However, the snake does not move the way it does in Blender, for example the head wiggles when only the tail is supposed to move and the location of the snake keeps changing. I’ve tried parenting to empties and everything else I can think of. The problem seems to be related to the FBX importer/exporter. Re-importing into Blender after exporting does not reproduce the original object and animation.

I can get to to partially work, except for the eyes, using shape keys but surely it can be done more directly?

Can anyone help please?

Attachments

snake_forum.blend (2.32 MB)

Looks like I’ll have to stick with shape keys.
The snake does a swallow, using a cast modifier. Looks like it will need 30 or so shape keys to make it reasonably smooth.