• 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 trey@drixel · Nov 19, 2012 at 03:40 AM · animationimportmecanim

Why is my generic mecanim animation moving to the origin?

Using Unity 4.0.0f7

I have a simple .ma file with an object rotating. Only the y-axis rotation is keyed. There is only one object in the scene.

I import the animation by setting the 'Animation Type' to generic. I made an animator controller with one default state, my rotation animation.

When I hit play, the GameObject moves to the origin and performs the animation. Of course, I'd like it to stay in place. What am I doing wrong?

(I can get this to work with the 'Legacy' animation type, but I'd like to use mecanim's state machine capability)

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 AIDSMcGuff · Feb 18, 2013 at 09:56 PM 0
Share

I'm having the same problem. I tried using all the options under each animation clip and nothing worked. It stays in place with root motion unchecked, but then it won't animate. I also tried changing all the settings with the animation states.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by AleKahpwn · Sep 11, 2013 at 05:19 AM

I fixed this problem by unchecking the "Apply Root Motion" box.

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

11 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

Related Questions

Can I make animations snap to a frame? 2 Answers

Editor script for editing animation settings after import? 0 Answers

Model gets really big when animator controller is applied? 1 Answer

Mecanim: Importing raw rigs with no mesh and only animation data? 0 Answers

Weird issue with Blender animation running riot in Unity 2 Answers

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