Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 SamAgten · Apr 28, 2013 at 10:40 AM · animationblendermecanim

Unintended translation of in-place animations in mecanim: apply root motion

Hi,

I have made some basic animations in Blender to test out Unity's new Mecanim animation system. I need to have in-place animation as opposed to the example used in the tutorial. I have done this by making an idle animation and a run animation in Blender. I have imported said animations into Unity. In the preview window, both of these animations are working perfectly (even retargeted) and are in-place as I intended. I have checked the box to make sure no displacement is taking place on the x/z plane or y-axis and have rooted the rotations (there are none in the animation but just to be sure...).

I have input these animations in a new Animator component, allowing the character to run if speed reaches a certain threshold. No script is attached to the character, I have been testing the animations by changing the parameters in the Animator. When said to run, the character undergoes a slight translation from its origin. When reverting to idle the character has undergone a slight displacement. The character does run in-place but there is appears to be an offset from the origin. I'm guessing I'm missing something basic? Is the problem related to Unity or the animation itself?

Do you guys have any idea what is causing this? If need be, I can post the project.

Thanks in advance,

Sam

EDIT: Unchecking the box "Apply root motion" on my character solved the problem. Now I'm wondering why that is? I would think that I would want to apply root motion to make sure no translations are happening (I made sure of that by checking the correct boxes in the animation clip) but instead it's the other way around?

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 · Oct 07, 2013 at 12:46 PM 0
Share

for anyone searching, basically this may help

http://docs.unity3d.com/Documentation/$$anonymous$$anual/ScriptingRoot$$anonymous$$otion.html

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Xinodir · Oct 07, 2013 at 08:59 AM

Hey!

I actually have the same Problem: http://forum.unity3d.com/threads/203635-Mecanim-Blender-Animation-Model-translates-more-and-more-from-its-origin

I'm so desperate!! :/

But i can't find the "Apply root motion"-Box. Can you please answer on my post on the link?

Kind regards, Xinodir

Comment
Add comment · Show 1 · 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 Radivarig · Jul 10, 2014 at 02:29 AM 1
Share

The "Apply Root $$anonymous$$otion" is a variable of the Animator component in the inspector attached to your character.

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.

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

Mecanim - Rotate Generic GameObject and play Animation 0 Answers

Mecanim animation importing 2 Answers

not importing new animations? 3 Answers

Confused on importing animated model from Blender 0 Answers

Blender Animation Editing 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges