Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Can't export FBX with animations attached to it

Can't export FBX with animations attached to it

Anonymous
Not applicable
6,257 Views
4 Replies
Message 1 of 5

Can't export FBX with animations attached to it

Anonymous
Not applicable

I've been trying to export Maya file as .FBX to unity with animations attached to the model but i can only Export the model but when import the same fbx model into Maya again i can see the rig animating without being attached to the rig, would be a great help if someone could help me with this

0 Likes
Accepted solutions (1)
6,258 Views
4 Replies
Replies (4)
Message 2 of 5

andreasng____
Contributor
Contributor

if you just want to export/import animation on control curves use "PAIE"

 

https://www.highend3d.com/maya/script/paie-for-maya

 

then select your control curves, export the animation, dont select skeleton or mesh.

 

Dont use FBX as a way to export/import animation. FBX is for one way traffic into a game engine or something else. 

Message 3 of 5

Anonymous
Not applicable

Thank you very much for responding but i wanna export both the mesh and animation as a single FBX to use in unity, i get the same issue as i do in maya, 

only the camera will be animating but the mesh will stay still

0 Likes
Message 4 of 5

andreasng____
Contributor
Contributor
Accepted solution

if you want to use the animation in Unity here are some important notes:

 

Dont export control curves, they don't do anything other than affect the bones.

 

Use this Hierarchy:

 

Char

 -Mesh

 -Bones

 

Char Stuff

 -ControlCurves

 -Ik handles

 

When you want to export for unity, choose the Char and press export FBX. Make sure the FBX exporter bakes keys - and actually exports animation. See in the settings if it does. DO NOT export Char Stuff - it does not have anything to do with the actual character. 

 

In unity you "need" a Char and then you need animations for that char. 

 

So you will have files that look like this

 

Char

Char@IdleA

Char@IdleB

Char@RunA

Char@WalkA

 

etc etc

 

The Char file is your model, and unity will put anything form the same folder with a "@" in it as the characters animations. 

 

Then via code or playmaker or whatever you can make the char use those "@" animations.

Message 5 of 5

Anonymous
Not applicable

oh ohkay, thank you for your time. will surely try this method and  will probably update you with how the animation works and looks in the game 🙂