Please help!!!! Animations gone mad >:o

hey guys. i made a character and 2 animations for it:
dusk.fbx
dusk@idle.fbx
dusk@walk.fbx
they import and dusk.fbx recognizes them just fine. the problems start when i start the game. the animations dont play correctly, they start to look deformed, and im starting to get sick of this. i was going to buy unity pro but i think im gonna back out now because i cant import any animations from maya. i checked “bake animations” and everything else that should fix it. this is making me freak out…
some screens:



Please Help me! I MUST BE MISSING SOMTHING REAL SIMPLE >.<

Well I don’t know anything about Maya, but did you check the rotations of your bones?

Good luck, Robert

Actually, I got better results with not baking animations. Also I was more successful with the FBX2010 format chosen. 8)

i am using 2010 format. ill try it without baking animations…ANYONE HAVE A SOLUTION??!

Can you post the file? I would like to take a look a the animation in maya.

Well actually ive solved the problem, but now im faced with another one. the left toe follows the right toe and gets all deformed when i move the knees around…i attahched the file maybe you can have a look :slight_smile: just try to move the knees and legs and look at the feet. can you fix this please?

353799–12314–$dusk_199.rar (983 KB)

The skinned mesh has what in Maya are called Skin Weights. It basically boils down to 2D maps representing how much each Joint effects portions of the mesh. In Maya you would select your mesh, and go to Animation>Edit SmoothSkin>Paint Skin Weights(Options Box). In the tool box that pops up you are going to see the hierarchy of your rig. As you click through the hierarchy you will see different portions of your rig turn white and black with gradations in between. The more white a portion of your rig is the more it is affected by that joint. Here is a link that will help with rigging.

Painting skin weights takes time and can be tedious, especially being your first go at it. I recommend you read the documentation and learn about locking and painting weights.

http://www.creativecrash.com/maya/downloads/scripts-plugins/character/c/pm_heatweight--2

i knew about skin weights before, but i want to know how to fix the problem with the feet. do you have any suggestions? if its a skin weight problem, i will probaly fix it, but i just want to know if thats what it is…

Each foot weights are affecting the other foot.

kk im gonna fix that. sorry to be a pest but how do i remove skin weights off of each foot? (im going to get rid of the foot weights then re-do them… :o

aarmbuster:

i tried it but it still wont work. instead all of the toes go up with the other foot. nothing is seeming to work. do you mind donwloading the file and trying to fix it or maybe tell me exactly where to change the weights? Thanks!

This is what I was referring to when I said ‘bake animations’ in your other post…

http://davegoosem.net/blog/unity/baking-animations-in-maya/

I"m talking about selecting all joints from the Outliner - CTRL-Select all joints together, then in the attribute editor, ctrl select all of the Transform and Rotate channels.

Next go to keys > bake animations with the settings shown in the post.

http://davegoosem.net/blog/unity/baking-animations-in-maya/

This is a quick guide - I wrote this down myself when someone posted it here on the unity site when I had a similar issue 8)

Give exporting a go after you’ve done this and you should find it works I’m thinking.

With FBX exporter you can also bake joints or complex animations when exporting.

Here are the function to apply one time in your script editor to edit the preferences :

FBXExportShapes			-v 0;
FBXExportAnimationOnly 		-v 1;
FBXExportBakeComplexAnimation 	-v 1;
FBXExportBakeComplexStart 	-v 0;

About the deformed animation, if you didn’t find yet… There is an option in Unity called “Anim compression” That thing will always delete some important keyframe and create deformation. Then I swith on “OFF” :slight_smile:

About the mg file you attached it create a bug when opening with Maya 2009-64 and explode the skin on the torso :frowning:

Edit : About your skin problem i just found the left and right feet and skinned on both left and right feet’s bones :slight_smile:

Edit : In Maya under the mesh I found strange stuff attached to the mesh O_o…

sama.van,

how am i to fix this?

I dunno, this is in the character’s mesh …
Just delete it :slight_smile: