Hi,
I would like to see my animated object from Maya in Unity. This I was hoping should just work. Unfortuantely in Unity it is not playing the animation. Here’s my setup.
Maya 2014.
Exported Model has a group containing 10 geo’s (e.g. to bring into Unity with 1 material per geo). The geo’s are all skinned to a very simple 5 bone rig with 1 weight per vertex. The skeleton is like this:
Root_Bone
Child_Bone
GrandChild_Bone
Child_Bone
GrandChild_Bone
The skeleton has a few keyframes on it performing rotations only. There is a start frame of 1. End frame of 30. Frame 0 has a bind pose on it.
Maya exports FBX with standard autodesk preset settings including animation. The animation exports and if I re-open the FBX into Maya the animation plays back fine and all the skinning is good.
If I open the FBX file with unity the mesh preview shows the bind pose, but if I click on preview and play the take the model appears to be on frame 1 (e.g. its different from the bind pose) but does not play.
I have looked at various posts and looked at the reference and done everything I can think of to make the animation play but it simply won’t play in the preview window.
I had a look at the Unity tutorial about building the game with the Outpost building that has animated door, but this does not use bones and it just keyframe geometry so that didn’t help me.
The most interesting thing I do find is that IF I save the Maya file in the same folder where I am putting the FBX the animation works (albeit from the Maya binary file). The problem is I need FBX format to build from. The animation from the Maya file format just works with standard settings.
Any foresight, help would be greatly appreciated as I don’t think I’m doing anything obviously wrong. Is there a magic formula to export the Maya file e.g. a certain layout to use for the skeleton and geo?
Thanks
James