# HIK Retargeting with HEAT

The HEAT base character packaged with the HEAT Maya plug-in comes with a skeleton definition.  This means that retargeting HEAT animations to any character that is characterized with Maya's HumanIK system is simple and seamless.

* Begin by importing a base character into your scene using the **'Add Base Character'** button (<img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2Fa9iHkvJIzisy7uRrg0zu%2Fimage.png?alt=media&#x26;token=a4ae77c6-3518-4b77-a015-b5333e8763b4" alt="" data-size="line">) and apply an animation to it by selecting one from your library and hitting the **'Import'** button (<img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2FJvqIPYVbwthyLkMxjuD9%2Fimage.png?alt=media&#x26;token=50156fca-0159-4c77-8ae5-4d236e021525" alt="" data-size="line">).
* Open the HumanIK window by navigating to **'Windows -> Animation Editors -> HumanIK'**
* In the HumanIK window you should see the character **'HEAT\_char'** definition.

<figure><img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2FBGf0uXdlJhPGmFAdyXJf%2Fimage.png?alt=media&#x26;token=0cf68c91-0707-4991-a8df-7d2c75c449fd" alt=""><figcaption><p>HumanIK window of HEAT character</p></figcaption></figure>

* With another HIK defined character in your scene simply select your target character (the character that you want to have the animation retargeted to) under the **'Character:'** field of the HumanIK window.  Choose **'HEAT\_char'** under the '**Source:'** field of the HumanIK window.  The animation will automatically be applied to the target character!

<figure><img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2FFFYBImUzKpIX5s7STiGE%2Fmaya-hik.gif?alt=media&#x26;token=f2c88075-0577-4dea-acf5-502c3e356a3c" alt=""><figcaption><p>Retargeting a HEAT animation to the Maya Dummy Character</p></figcaption></figure>

## FURTHER ADJUSTMENTS TO THE HIK RETARGETING

Due to differences in character size and shape retargeting can sometimes need some adjustments to look perfect.

* In the HumanIK window make sure your target character is still selected in the **'Character:'** drop down and that you are on the **'Definition'** tab of the HumanIK Window.
* Click the HIK settings drop-down button (<img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2FwV1ReMIRJiclKFxLDMp5%2Fimage.png?alt=media&#x26;token=0551072d-485b-4936-b443-81d156da6cc6" alt="" data-size="line">) and select **'Edit Character Definition -> Edit HIK Properties'.**
* There are many settings in this window that can be tweaked, but most often what will be necessary will be within the **'Retarget Specific'** drop down.

<figure><img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2FB6JtGil5Vr7ebpyL5PQw%2Fimage.png?alt=media&#x26;token=0fa1f154-9175-478a-bcdc-1a7fe86e3c3f" alt=""><figcaption><p>HIK Retarget Specific Properties window</p></figcaption></figure>

* If your target character seems to be floating off of or sinking through the ground try changing the **'Hips Level Mode'** and **'Anke Height Comp Mode'** to **'User'**.  Then you can tweak the **'Ankle Height Comensation'** number up or down until you have proper floor contact.

<figure><img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2FD3rWIGYhQoqti5HSDiJG%2Fmaya-hik-tweaked.gif?alt=media&#x26;token=e2aaa51e-b18b-4702-bdd3-cfb6d96e42cc" alt=""><figcaption><p>Animation adjusted to meet the floor using HIK Retarget Parameters</p></figcaption></figure>

{% hint style="info" %}
For more uses and further descriptions of the HIK Properties please refer to the official Maya docs at <https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-EB6801E1-1DA2-4E47-8C45-F7159AA452F1>
{% endhint %}

## BAKING ANIMATION TO TARGET CHARACTER

You may notice that if you are to now delete the source character (HEAT base character) that your target character will lose its animation data.  This is because we need to finalize this whole process by baking the animation to your target character.

* In the HumanIK window make sure your target character is still selected in the **'Character:'** drop down and that you are on the **'Definition'** tab of the HumanIK Window.
* Click the HIK settings drop-down button (<img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2FwV1ReMIRJiclKFxLDMp5%2Fimage.png?alt=media&#x26;token=0551072d-485b-4936-b443-81d156da6cc6" alt="" data-size="line">) and select **'Bake -> Bake to Skeleton'**.
* The animation will now be baked to your target character skeleton and you can now delete the HEAT base character from your scene without worry.

<figure><img src="https://3615087246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayEAytwtGUY9ZVsFfLoQ%2Fuploads%2F60wkqo2CJ3pPMb79x8tR%2Fmaya-hik-final.gif?alt=media&#x26;token=f188dd28-e485-4a2b-a4f9-83b3ae81b612" alt=""><figcaption><p>Final product of animation retargeted from HEAT to dummy character using HIK</p></figcaption></figure>

{% hint style="info" %}
When baking the animation you can also choose **'Bake To Control Rig'** if you intend to hand animate on top of the existing animations.
{% endhint %}
