x


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 '10 at 02:12 AM

Ingmar Helsmoortel gravatar image

Ingmar Helsmoortel
3 1 1 4

(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 '10 at 09:25 AM

Paulius Liekis gravatar image

Paulius Liekis
8.3k 24 38 62

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 '10 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 '10 at 10:19 AM Paulius Liekis

Ok, thanks !

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

Hi,

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.

Bye,

Jean

more ▼

answered Dec 14 '10 at 04:10 PM

Jean Fabre gravatar image

Jean Fabre
3.5k 70 79 110

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 '10 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

By RSS:

Answers

Answers and Comments

Topics:

x5705
x401

asked: Dec 14 '10 at 02:12 AM

Seen: 2767 times

Last Updated: Dec 14 '10 at 02:12 AM