- Home /
Trouble importing simple animations from Maya
I have exported an object out with a simple rotation animation as an FBX. Made sure the export animation boxed is ticked but importing it into unity, the animation does not play. I know that I can animate a simple rotation just as easily in Unity, but it's the principle. Any ideas would be appreciated. thank you!
How did you try to start the animation? what code did you use or how did you import? Under Import Settings Rig tab you probably need to select legacy. Did you configure anything? check this page and its links
thank you. this works. however, now the constraints i created in maya (i made a ferris wheel with the carriages constrained to the wheel in a way that they do not rotate with the wheel) don't import. the carriages remain still. i've tried tweaking all the settings to no avail.
Answer by rowdyp · Jul 16, 2013 at 05:46 PM
did you bake the animations directly in unity under the animations tab?
it wouldn't let me bake the animations in unity as i exported it out as an FBX. i did make sure to tag it to bake animations in maya though.
so... i just saved it out as a maya binary file and tagged the bake animations in unity and not in the FBX exporter and it worked!
Answer by scarletshark · Jul 16, 2013 at 05:44 PM
You really need to learn not just how to play animations, but how to create game-friendly rigs. Your ferris wheel isn't working because your point constraints aren't baked the way you expected them to be. Or maybe you forgot to click "bake animations" on the animations tab (I'm assuming you are using a Maya Binary, and not an FBX)?
In my experience, it's better to make a different kind of rig. In this case, It would be interesting to try making a skeleton where the root node is the center of the ferris wheel, and there is bones for each carriage. Only animate the rotation of the root bone, and add rigidbodies to each of the child bones. This would simulate physics on the carriages, like a "ragdoll."
Let me know how it goes!