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).
Anyone have any suggestions?