Accessing fingers in Mecanim

I’m trying to close the hand of an avatar. Sounds simple enough, but I can’t seem to find any way to do it.

At first I was pleased to see that there was a muscle group for finger Open/Close. However, I can’t find any way to access it at runtime. The only documentation I’ve found says to create a muscle clip, but no information about how to do that.

I thought I could access the joints directly in LateUpdate() using animator.GetBoneTransform(), but HumanBodyBones doesn’t have values for the finger joints.

I’m using a variety of avatars from different sources, so I’d rather not resort to walking the hierarchy myself and figuring out which joints are which (especially when Mecanim has already done this work).


@HamFar I haven’t looked at it lately (been working on other things), but I know the animation system in Unity is changing quite a bit in the next release so perhaps it will become easier.