Before updating to Windows 10 you may need to return your Pro license. More information here

Animation (IK solvers) doesn't work in Unity

I made an animated model of a scorpion with IK solvers (no bones) in 3D Max, but the animation doesn't work in Unity: Translation & rotation of the whole model works, but not the animation of legs and arms (IK solvers). I tried collapsing the IK solvers and baking the animation, but that didn't work.

Any thoughts ?

more ▼

asked Dec 14, 2010 at 02:12 AM

avatar image

Ingmar Helsmoortel
3 3 2 6

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Are you importing animation as max or fbx? If as max then put checkbox "Bake animation" on in Unity. If as fbx, then you have to bake animation in from max menu, or during export (during export is preferred).

Which Max are you using? Make sure to update to latests plugins (2011). You can always try importing your fbx animation back into max and see if it looks correct - if it does, then the problem is not on Unity side.

more ▼

answered Dec 14, 2010 at 09:25 AM

avatar image

Paulius Liekis
9.9k 79 86 121

Thanks for your reply.

I tried both max & fbx file, alas... But I now downloaded the fbx2009 version (I use Max2008 and previously used fbx2006) and now the animation works. However, it doesn't play the animation fully, some frames at the end of the animation are missing... I tried a higher number for the endframe, but to no avail. Any idea what the problem could be ?

Dec 16, 2010 at 01:25 AM Ingmar Helsmoortel

Yes, it's a know bug in Unity - it doesn't sample last frame. I hope this will be fixed in next release. At the moment you can either set wrapMode to ClapForwever or sample last keyframe manually.

Dec 16, 2010 at 10:19 AM Paulius Liekis

Ok, thanks !

Dec 16, 2010 at 11:14 AM Ingmar Helsmoortel
(comments are locked)
10|3000 characters needed characters left


If baking anim within 3ds max doesn't work, you could try to add another layer in your rig so that you don't need the end effector animation at all.

When you bake IK anim within max, can you save as fbx and then open that fbx within max again, if the anim are ok then it's within Unity that the problem is, else it's within max.



more ▼

answered Dec 14, 2010 at 04:10 PM

avatar image

Jean Fabre
4k 191 165 255

Thanks for your reply. I downloaded the fbx2009 version and now the animation works, though there are some frames missing at the end.

Dec 16, 2010 at 01:29 AM Ingmar Helsmoortel
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Dec 14, 2010 at 02:12 AM

Seen: 3484 times

Last Updated: Dec 14, 2010 at 02:12 AM