• 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 Hyperion · Jan 20, 2013 at 04:30 AM · blendermecanimmotionroot

THE FINAL BARRIER OF MECANIM

Hello everyone,

I know how to code for Mecanim, all that is great! Yet, the animations are impossible to make with ROOT MOTION! Even if I make the animation with 'root motion' in Blender, Mecanim simply doesn't receive it with root motion. So, can anyone please tell me how to apply root motion in blender? (I have Unity Free, so I can't use curves.)

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 Hyperion · Jan 24, 2013 at 09:58 PM 0
Share

I still can't find the answer...

1 Reply

· Add your reply
  • Sort: 
avatar image
6
Best Answer

Answer by MajorNightmare · Jul 01, 2013 at 12:20 AM

Hi Hype,

I'm doing it with Rigify with a slight mod. Set up the Rigify armature as usual, we'll call this rig1. Duplicate it, remove all the bones except the ORG- and the root bone from the duplicate, we'll call this rig2. Rig2 becomes the deformer rig. Replace all the constraints on the rig2 with a copy transform constraint on each bone targeting the ORG equivalent bones of rig1. Parent the mesh to rig2 with auto weighting, fix the weights if need be. Now whatever you do to rig1, transforms rig2. Rigify has a root bone. In a walk cycle for instance you move the root to take into account the forward motion. When rig1's Walk cycle is done, select the mesh, make sure it has the walk action is visible, do the same for rig2. Select the mesh and rig2 only, Export as FBX with these settings. You don't even need key frames on Rig2, the export bakes them in. Rig2 has none of the extra bones, so it converts in Mecanim perfectly, without all the extras from Rigify. You should be seeing forward motion if you moved the root bone on rig1. Hope that helps you an other blender users. Of course you do this without Rigify, you just need a root bone that moves, hence the name "root motion".

get my Rigify blend on Blendswap

alt text


fbx-export.jpg (44.2 kB)
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 Hyperion · Jul 01, 2013 at 11:03 PM 0
Share

Wow, thank you very much. I have been waiting a really long time to find an answer. I appreciate this. P.S. If you ever need help yourself, feel free to email me or something!

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

10 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

Related Questions

Turn off root motion for a specific animation 4 Answers

Is there a way to Scale Root Motion with the model? 0 Answers

Will frame rate affect Mecanim speeds? 1 Answer

Strange Character Movement (Mecanim) 0 Answers

Crazy Mecanim Glitch 1 Answer


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