Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by Tighti · May 24, 2018 at 02:22 PM · animationrigginghumanoid

Humanoid rig breaks when legs are over extended?

I'm trying to share animations across a variety of character proportions, and using a humanoid rig to re-target anims. But something about the way it's processed causes lots of glitches whenever an arm or leg is fully extended; the knee/elbow starts to twist randomly and the feet don't stay in place properly.

It seems like when the limb goes completely straight, the rig doesn't know how to calculate which direction the joint is supposed to be facing. None of these issues happen in 3dsmax, or in the fbx export, or if I'm importing it as a generic rig. But as soon as I switch to Humanoid something changes in the way the joints are oriented.

I've seen the same issue happen with the motion capture software we used, where actors in t-pose with arms fully extended would have random twisting in their shoulders and wrists, but the problem resolved as soon as they started using natural movements. Which is probably unrelated, really. I've been manually editing the animations to make sure the legs never quite extend all the way, but sometimes it's not that noticeable until the animation gets imported and it becomes a huge bug.

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by theANMATOR2b · May 25, 2018 at 12:45 AM

I'm guessing this is happening when the animation being retargetted is from a shorter character than the target character?

You mentioned 3D Max, if using biped you can easily change the scale of the character then export so this anomaly is reduced or eliminated. Of course the scale change will have to be done in figure mode. If not using biped, consider converting the animation type to bip, so it can be retargetted onto a biped then the scale can be changed prior to importing into Unity.

Sorry I have no Unity related solution. Please update with the solution you find, end up using.

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
1

Answer by Tighti · May 25, 2018 at 07:29 PM

Yes, it's generally the characters with longer legs that this bug appears on. But early on we decided we'd get more consistent animations by using a rig with an average height and build rather than using the more extreme variations, and I'm not sure we can easily go back and alter them at this point. We're using a biped base, but with some custom rigging on top (for props etc.) that don't resize as easily.

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 HattyCastles · Mar 24, 2020 at 05:23 PM

I encountered a very similar issue in 2020, and I wanted to add to this. It seems from this answer that Unity creates a new, generic rig when you use the "Humanoid Rig" import option. This rig has an IK handle on each limb. This answer on the reddit post Animation glitch when importing to Unity discusses how IK handles can only bend in one plane. That plane is defined by the IK handles pole vector. It seems in the generic humanoid rig that Unity does not give you control over the pole vector plane and that the plane is always aligned with the character's forward and up vectors.


This means that whenever the limb extends to the point that there is no bend in the IK handle, the IK handle's rotation defaults to the rotation of the pole vector, which is forward (or backward depending on which is closer, as planes aren't directed). In my case, this results in the animations for forward running looking fine but the animations for strafe running getting this rotation glitch.

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.

Follow this Question

Answers Answers and Comments

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

Related Questions

Dealing with Humanoid Animation Import issues 1 Answer

High Quality rig with Mecanim 0 Answers

Retargetting Quality low on SAME RIG 0 Answers

3ds max rigging problem 0 Answers

More than one rig for the same character 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