I have made walking and running animations in Blender which looks very good.
When imported to Unity the right leg of the character jerks a little in his knee in one of the first frames of the sequence. It looks like he has wounded his leg or something. I can find nothing wrong in blender and I have not touched the IPO curves…
Have you tried checking the “bake animations” checkbox in the import settings? If that doesn`t work, you should try to bake your animation inside Blender and then do a re-import into Unity.
Make sure you are animating at 30 fps in Blender, as it is the default for Unity importing the animations. So, if you build your animations with a different fps, you may find strange results when Unity interpolates in a different way you see in Blender.
Thanks guys, I have now changed the fps settings in blender to match the import in Unity, and sadly there was no difference…
However, Viking Roald, doesn’t baking increase the file size?
we are making an iPhone game and I want it to be somewhat space efficient The sequences combined are now stretching around 2000 frames, and of course not all of those are keyed, but I imagine if they are baked they will…?
Baked animations shouldnt be any bigger than non-baked animations AFAIK. Ill talk to some guys in the office tomorrow and give you some more info then
Did you manage to solve the jerky animation loop btw.? Make sure you haven`t checked the “loop” checkbox in the Split Animations section. That one can be a bit misleading, but keep it unchecked for now.
Try setting all rotations to Quaternion in the Animation Editor. It straightened out alot of joint skewing off the rotation plane from using Euler angles in several of my cases.
HTH
BTH
Take a look at the IPO curves of the leg bones, even if you did not touch them by hand, depending on your animating workflow maybe you have some tangents out of range.