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 harmoli · Mar 20, 2014 at 09:10 PM · animatormecanimanimator controllerhumanoid

Mecanim not playing animation correctly

I have created a humanoid character and rigged it with Mixamo. When importing the .fbx, I can see that the rig is set up correctly. If I add an animator controller in the Mecanim tutorial, the animation is working. However, when doing this in our own project, the character is not animated correctly. Specifically, the character is deformed in a half-closed pose in the muscle preview. The physics acts as if the character has been moved down, such that the hip joint is the bottom of the collider.

Has anyone seen this before and know of a way to fix it? Thanks.

Comment
Add comment · Show 3
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 Gruffy · Mar 20, 2014 at 10:26 PM 0
Share

When looking at your model through the inspector, have you changes the rig type to Humanoid (denoting it as a part of the $$anonymous$$ecanim system that uses avatar definitions to assimilate like bipedal rigs) Once you have checked the "Animation Type" dropdown over and selected it to say "Humanoid"(and ensuring the "Avatar definition" says "Create From This $$anonymous$$odel"), you may then have to go deeper and click into the define bones tab underneath. (Often due to not enough bones being there ($$anonymous$$ 15 for $$anonymous$$ecanim)) In there you will get a new panel showing up, but this is a whole tutorial really. Heres a good link to setting up biped for $$anonymous$$ecanim: $$anonymous$$ecanim Tutorial This guy gives a step by step run down of actions found in the video link StepByStepRundown

Cheers and thanks for reading. Take care Gruffy

avatar image harmoli · Mar 21, 2014 at 03:32 AM 0
Share

So I made sure that my character is rigged using "Humanoid" in "Animation Type", and have checked that the bones are correct ($$anonymous$$ixamo rigging gives all the standard rigged bones). I am using the animations from the $$anonymous$$ecanim tutorial. They work fine in the tutorial, but don't work when I'm doing the same thing in my own project.

@tanoshimi : How do you change the animation clip to Animation Type "Humanoid"?

avatar image Gruffy · Mar 21, 2014 at 11:49 AM 0
Share

Have you also brought over the mecanim Animator controller you must of plugged into your model in the project where it was working ?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by tanoshimi · Mar 20, 2014 at 10:35 PM

Make sure that both the rig of the model AND that of the animation clip are set to Animation Type "Humanoid".

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 tanoshimi · Mar 21, 2014 at 10:27 AM 0
Share

Click on the FBX file containing the animation (e.g. idles.fbx). In the inspector pane, click the "Rig" tab and select Humanoid. alt text

mecanim.jpg (31.5 kB)

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

22 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Mecanim - Transitioning to the same animation in reverse 0 Answers

How do I construct my animation state machine this way? 0 Answers

OnStateEnter isn't updating in the correct order with normal update? 0 Answers

Animation Mecanim - Parts of model displaces after animating 0 Answers

Animator component prevents NavMeshAgent from disabling/enabling dynamically 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