Mecanim 'Locking' my facial blendshapes

本文探讨了Unity中Mecanim系统对面部BlendShape的限制,特别是在进行唇同步动画时,如何独立控制未受影响的BlendShape,如眼睛和眉毛的动作。通过使用多个动画层并将混合模式设置为'Additive',可以实现在Mecanim动画播放时对手动调整BlendShape的支持。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Mecanim 'Locking' my facial blendshapes

https://answers.unity.com/questions/836722/mecanim-locking-my-facial-blendshapes.html

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?

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.

 

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.

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值