I have an animator with configured humanoid avatar.
I'm trying to get position of hand with
Animator thisAnimator = GetComponent<Animator> ();
Transform temp = thisAnimator.GetBoneTransform (HumanBodyBones.RightHand);
It always returns null. I checked it with other bones but result is the same.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
2D Animation does not start
Remove bone from animator/rig
Problem With Model Bones
Can Unity import a Blender deformed bone rig (segments)?
How to create hip and chest bones like the "dude" model has?