Answered

IK target under right hand for left hand to follow during animation

Sam 2 years ago updated by Peter - Soxware Developer 2 years ago 1

Greetings,

I've been looking through the tutorials and I feel like I should be looking at child of constraint etc but I do not quite get it.

I want one simple thing and that is to have a "IK target" game object on my characters right hand and my left hand simply follows this "IK target" gameobject. 

I have a two hand sword animation and the character isnt holding the weapon properly with both hands. See picture:

Image 1140

I simply want the hands stacked togheter and the left hand to follow the right using IK.

Could you simply point me in to the right direction in where to read/watch tutorial about this? Im really not a animator and trying to figure out the functionality of this excellent tool you provide us with! 

UMotion Version:
Unity Version:

Answer

Answer
Answered

Hi,
thank you very much for your support request.

You guessed right, you need the child-of constraint to do that. With it you can make the right hand's IK target the parent of the left hand's IK target.

If you've setup your IK with the IK setup wizard, then your IK targets already use a child-of constraint (to offer the IK pinning capability). IK pinning is a special mode of the child-of constraint that allows you to toggle the parenting between two states only.

  1. Go into config mode (pose editor) and select the IK handle of the left hand.
  2. Open the constraints tab and scroll down to the child-of constraint.
  3. Disable IK pinning mode.
  4. Switch into pose mode.
  5. In the clip editor, set the green frame cursor to frame 0.
  6. Select the left hand's IK handle and in the channels view of the pose editor set the IK handle of the right hand as parent.
  7. Click on Key Selected --> Key All (pose editor).

Result: If you move the right IK handle, the left should follow accordingly.

More information about the child-of constraint can be found in this video tutorial:

Please let me know in case you have any follow-up questions.

Best regards,
Peter

Answer
Answered

Hi,
thank you very much for your support request.

You guessed right, you need the child-of constraint to do that. With it you can make the right hand's IK target the parent of the left hand's IK target.

If you've setup your IK with the IK setup wizard, then your IK targets already use a child-of constraint (to offer the IK pinning capability). IK pinning is a special mode of the child-of constraint that allows you to toggle the parenting between two states only.

  1. Go into config mode (pose editor) and select the IK handle of the left hand.
  2. Open the constraints tab and scroll down to the child-of constraint.
  3. Disable IK pinning mode.
  4. Switch into pose mode.
  5. In the clip editor, set the green frame cursor to frame 0.
  6. Select the left hand's IK handle and in the channels view of the pose editor set the IK handle of the right hand as parent.
  7. Click on Key Selected --> Key All (pose editor).

Result: If you move the right IK handle, the left should follow accordingly.

More information about the child-of constraint can be found in this video tutorial:

Please let me know in case you have any follow-up questions.

Best regards,
Peter