- Home /
How do I export multiple animations from Maya to Unity?
Hi there,
This is super-nooby (I'm a UI designer doing 3D modelling :P), but...I want to animate an object doing multiple things (bouncing, spinning, etc). How should I set up the timeline in Maya, and subsequently export it to Unity, such that the programmers on my team can reference the animations correctly?
Answer by pheash · Jul 24, 2012 at 09:18 AM
the way I do it is make all the different animations in one file. put the start of each new animation on eg each 100. say frame 0-45 bouncing, frame 100-130 spinning, frame 200-285 sommersault. then you export it as an FBX. in unity when you import it you then have the option to split the timeline into animationclips, so you have to provide the programmer with your frametimes (or set it up yourself).
Awesome, thanks for answering. Like I said, super-nooby, but ya gotta start somewhere!
And how then trigger those clips?? What is the code for that? Just animation.Play() can't find the name of the clip, animation.Crossfade() neither. Where are those divided clips are stored, how to access them? Thanks!
Your answer
Follow this Question
Related Questions
Can material animation be exported from maya and imported into unity ? 1 Answer
Exporting Maya Animation to Unity3d 3 Answers
no matter what i do i can't import an animation from maya 0 Answers
Animation is not working in unity from maya export 0 Answers
Animation along CV curve - Maya to Unity 0 Answers