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 byrne · Nov 20, 2014 at 09:08 AM · animationmecanimblendshapes

Mecanim 'Locking' my facial blendshapes

I have an animator component that controls blendshapes on a model's face. This animator is working fine for lipsyncing different animations, and only affects 7 out of the 28 blendshapes on the face.

I want to control the other 21 blendshapes independently of the mecanim system - making the eyes blink randomly, eyebrows arch in surprise etc. To my surprise, I could not change any of the other blendshapes while the mecanim animator was active. Only after setting animator inactive could I get the blendshapes to change. This occurs even when playing an empty node in the mecanim animator.

Is there something I am missing here? I don't think baking random blinking into hundreds of dialogue animations is a solution, and it probably won't achieve the desired effect also. Animation blending is not the correct solution as well because the desired effect is not a blending effect.

How can I change unaffected blendshapes (like eyelids) manually when the mecanim animator is active on the face?

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 byrne · Dec 12, 2014 at 04:05 AM 0
Share

checking back in after a month. anybody have any experience in this or have seen a question that's similar? haven't been able to find a proper workaround for this.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by byrne · Feb 13, 2015 at 08:15 AM

I finally got back to researching it, and I'm going to answer my own question after a few months. haha

In the animator window, using multiple animation layers with the blending mode set to 'additive' will combine animations.

Comment
Add comment · Show 2 · 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 mrwilliams · Nov 15, 2015 at 08:09 AM 0
Share

Hi @Byrne,

I am having similar issues (I think). I have imported animation in FBX files, which are animating blendshapes.

In code (C#), I need to modify some of the blendshapes while the original animation is running. I was hoping you could help me by detailing how I can either create the "new" animation and add it to a layer in code, or how I can specify that a certain combination of animation should play at one particular time from code.?

Thanks for your help. I've been looking for weeks and have this is the last part that I need to solve... its killing me slowly ;-)

Thanks.

avatar image byrne mrwilliams · Nov 17, 2015 at 03:58 AM 1
Share

Wow. I wrote an entire reply over the course of 1 hour ( was working while typing halfway ) and lost the entire post because I wasn't logged in after clicking submit. Great.

Anyhow, here are my points.

  1. Use your base layer for idle animations.

  2. Create a layer below it that has your blendshape animations.

  3. Set triggers that call your blendshape animations.

The idea here is that the bottom animation layers will override the top. If you have a blinking animation that only applies to the blink blendshape and it is set on the layer below the base, it will override the base and apply blinking on top of the idle animation.

Hope this helps Byrne

avatar image
0

Answer by Laiken · Jul 06, 2018 at 01:37 AM

I had a similar problem with a single blendshape out of 20+ blendshapes that my skinned mesh had. It was happening because one of my animations inside the animator controller modified that blendshape. The blendshape was locked even if that particular animation was not playing at the moment. What I did was opening that animation with the animation window (ctrl+6) and removing the change to the blendshape. That made the blendshape be unlocked for that animator controller.

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

28 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

Related Questions

Importing humanoid animation with blend shape animations? 2 Answers

old animation system 0 Answers

Twisted hand using Mecanim 0 Answers

Use Humanoid Animations with aditional bones 2 Answers

[Unity 4.3] Skinned legacy animations do not work 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