• 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 artie · May 17, 2013 at 03:38 AM · animatormaskavatarmechanimik

Mechanim - should be simple, but...

Ok I'm new to Mechanim but I've been over the docs and tried a bunch of stuff, I'm lost.

Have a humanoid that I want to just kinda sit there. I have no animation defined, that is no curves. I have hand IK targets. Think of this as a guy sitting at a work station just moving things on a console in front of him. So I move the IK targets a little. For the hands, this works just fine.

What's killing me, his feet go all hyper-yoga! I'm using the sample IK script that comes with Mecahanim tutorials, so I set the hand targets (again just fine), but no foot targets. I expect him to maintain the pose I put him in 'manually' by adjusting hips and knees and feet to get him in a sitting pose. And do nothing at run time. But his legs go crazy (not moving, just pretzled). I tried setting a Mask to turn off IK for feet and legs et al, no help. Maybe I'm not doing that right? I went to the controller (idle/run/walk sample), which never goes out of Idle of course, and set a new layer with the 'no feet/legs' mask. Also on the script, I set 0 weights for foot weights. Still no help.

Please help

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by bodec · May 17, 2013 at 03:47 AM

Do a search on YouTube for animation unity4.0 ,there is a great tut on it.

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 artie · May 17, 2013 at 04:14 AM 0
Share

Any particular url? The 40 $$anonymous$$ute one I found is far more involved than I got to believe the answer to this is

avatar image
0

Answer by TonyLi · May 17, 2013 at 03:33 PM

The tutorial is worth the 40 minute viewing time, but to answer your question: Every avatar bone needs at least one influence from an animation. You could just assign a basic T-pose and then control everything through IK. To do this, you'd drag the T-pose into your Animator window, right-click on it, and select Set as Default. Or you could use a "sitting at workstation" animation to reduce the amount of IK computation.

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

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

15 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

Related Questions

I can preview the animation but in scene it doesn't work 0 Answers

Mechanim Issue 0 Answers

Avatar Masks and Animator Override Controllers 0 Answers

Applying animation to character not working 0 Answers

Avatar mask not working 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