• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Knightraven8 · Sep 17, 2012 at 08:43 AM · animationimportmayaclips

How do I create animation clips in Maya and import to Unity?

Basically what I want to do is have a cannon firing in my game. The player can turn the cannon left and right and adjust its angle. What I want to do is have the cannon rotate around its wheel axis as the player increases the angle, within the bounds of a set minimum and maximum angles. I also want the wheels to rotate as the player turns the cannon left/right - separate from the up/down angle.

I have already created my model for my cannon in Maya and am ready to begin animating it. I have also already created the scripts in Unity for rotating the cannon left and right and changing its angle and for firing the cannonball. How would I go about creating these animations and importing them into Unity?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Sep 17, 2012 at 08:45 AM 1
Share

suggest SEARCH this site, there are some 5,000 questions hugely explaining importing from $$anonymous$$aya

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by moinchdog · Sep 18, 2012 at 12:50 AM

when you have made your animation go to Edit > Keys > Bake Simulation

Export it to and FBX and tick Animation and Bake Animation

When Unity imports it, it will be fully animated.

Dj

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by elord · Jan 13, 2014 at 12:07 PM

I have done this but it still doesn't animate (in the preview in unity). In general is there something special i need to do in maya to create an animation? My workflow is the following:

1) I make a character by gluing different shapes

2) Then i insert bones and rigid bind then to the sharacter

3) Then i creating an animation with keyframes by rotating the bones

4) Then i select the bones and the character> export selection> .FBX with animation checked

But then when i importing it in the assets of unity, the Take001 file is just standing still in the preview (the bar is playing although).

Is there a fixxed way to make animations in maya and export it to unity? What am i doing wrong?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ateshkoul · Jul 29, 2016 at 06:01 PM

Perhaps what you can try is (in Unity) to go to Windows -> Animator then select the Take001 as the motion file.

HTH

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can I make animations snap to a frame? 2 Answers

Import animation from Maya 0 Answers

Problem with a very simple animation from Maya 0 Answers

Maya Animation Import Issue 0 Answers

no matter what i do i can't import an animation from maya 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges