> For the complete documentation index, see [llms.txt](https://blkmsk.gitbook.io/cc4d-tools-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blkmsk.gitbook.io/cc4d-tools-manual/workflows/animation-workflows.md).

# Animation Workflows

### ![](https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2F5En8ZKjR5D9RuxwkORob%2FCC4D_importMotion.png?alt=media\&token=b324d881-e1b6-4ddb-ac81-cd2e7293d956) CC4D Import Motion :new: <a href="#cc4d-import-motion" id="cc4d-import-motion"></a>

The **CC4D Import Motion** script imports body and facial animation from an FBX file and applies it to an existing character in Cinema 4D. It automatically detects the **CC4D Control Rig** and **CC4D Face Rig** or **Face Rig HD** and prepares the animation for retargeting. For characters without these rigs, animation is transferred directly to the character’s joints and Pose Morphs.

* Select the character’s main **Character Root** null in the Object Manager
* Click the **CC4D ImportMotion** icon in the CC4D Tools palette
* Select the FBX file containing the animation you want to import in the file dialogue
* Play back the animation to review the result.

{% hint style="warning" %}
This tool will only work correctly if the source character is the exact same as the target character in terms of joint hierarchy structure and proportions as well as facial profile mapping

Facial animation must be included in the exported FBX file to transfer facial expressions. When using the CC4D rigs, you can use the **CC4D Bake Tool** afterward to bake the retargeted animation onto their controls.
{% endhint %}

***

### ![](https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2FDTS4h3I3axTTRnuTCLn4%2FCC4D_importPose.png?alt=media\&token=67dd7b40-2436-4c84-80a1-c1ade51408c2) CC4D Import Pose :new: <a href="#cc4d-import-pose" id="cc4d-import-pose"></a>

The **CC4D Import Pose** script imports a body pose and facial expression from an FBX file and applies them to an existing character in Cinema 4D. It supports the **CC4D Control Rig** and **CC4D Face Rig** or **Face Rig HD**. For characters without these rigs, the pose is applied directly to the character’s joints and Pose Morphs.

* Select the character’s main **Character Root** null object in the Object Manager.
* Click the **CC4D ImportPose** icon in the CC4D Tools palette
* Select the FBX file containing the pose you want to import in the file dialogue
* The script applies the body pose and any included facial expression to the character

{% hint style="warning" %}
This tool will only work correctly if the source character is the exact same as the target character in terms of joint hierarchy structure and proportions as well as facial profile mapping

Facial expressions must be included in the exported FBX file to transfer them. This script can also receive poses directly from **Character Creator** or **iClone** through **CC4D Link**.
{% endhint %}

### ![](https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2FXzCGZ4O40eD90DYd1HHI%2FCC4D_importBodyMotion_v002.png?alt=media\&token=d4a5e0b3-5de4-4039-83f8-c6bf24c0f874) CC4D Import Body Motion <a href="#cc4d-import-body-motion" id="cc4d-import-body-motion"></a>

A script to import a animated joint hierarchy from a FBX file and apply a character definition tag to it as well as to the CC4D Control Rig. It will also automatically prepare the Control Rig settings for the retargeting process.  This script comes with some additional character definition presets located in the asset browser contents of the CC4D Tools for joint hierarchies coming from CC4/iClone,&#x20;

<figure><img src="https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2Fhc23TRX1GSWHt8uctL4g%2FCC4D_importMotion_01.gif?alt=media&amp;token=d3833c89-2574-426e-ac5b-39671a446867" alt=""><figcaption><p>CC4D ImportMotion Tool</p></figcaption></figure>

* select the *CC4\_CTRL* null object inside the *CC4\_character* root null object
* click the **CC4D ImportBodyMotion** icon in CC4D Tools palette
* select the FBX file with the animation data&#x20;
* the script will import the animated joint hierarchy from the FBX file with a character definition tag, prepare the Control Rig Settings for retargeting and add a character definition tag to the *CC4\_CTRL* null object as well
* to start the retargeting process set up the character definition through the character definition manager for both, the imported joint hierarchy and the CC4D Control Rig and create a character solver
* you can find several character definition presets for joint hierarchies coming from CC4/iClone/AccuRig/ActorCore, Mixamo or Rokoko Studio as well as for the CC4D Control Rig in the asset browser content of the CC4D Tools

{% hint style="info" %}
**Info:** The **CC4D ImportMotion** Tool will also work and import animation data when the CC4\_CTRL null object is not selected. In this case it will simply not prepare the Control Rig for retargeting and will add no character definition tag to it.
{% endhint %}

***

### ![](https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2FEmWwLPbUMmTZvzHc03S3%2FCC4D_importJointPose.png?alt=media\&token=41eaa42d-ef3c-4aa1-9ed0-c95bfd7648e6) CC4D Import Joint Pose <a href="#cc4d-import-joint-pose" id="cc4d-import-joint-pose"></a>

To correctly retarget a animated joint hierarchy coming from iClone, Actor Core, Mixamo, Rokoko or other sources it will need a proper reference pose in the beginning of the sequence. This script will import a pose from a FBX file and add it at the beginning of a animated joint hierarchy with the only preference that the hierarchy structure has to be same for the animated hierarchy and the imported one.

<figure><img src="https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2FEyvfIi5DgpwZSi3R9Nya%2Fcc4d_importJointPose_01.gif?alt=media&amp;token=7555e615-d4b3-47ac-896e-2987169346b7" alt=""><figcaption><p>CC4D ImportJointPose Tool</p></figcaption></figure>

* select the root bone of a joint of a animated hierarchy in the object manager
* click the **CC4D ImportJointPose** icon in CC4D Tools palette
* select the FBX file with the pose you want to import in the file dialog
* if both are hierarchies match and have the same structure and naming the pose will be added at the beginning of the squence

***

### ![](https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2FUcmB7yEA7lJXp6pWQbQd%2FCC4D_importFaceMotion.png?alt=media\&token=10e3029e-5705-4ea9-be06-2a98d05c735e) CC4D Import Face Motion <a href="#cc4d-import-face-motion" id="cc4d-import-face-motion"></a>

A script to import facial animation and automatically retarget the data to the control objects of the CC4D Face Rig.

The tool supports animation data coming from CC4/iClone, Rokoko Studio & the Moves app by Maxon

{% embed url="<https://drive.google.com/file/d/1zKzOAABdb-oAxWWR3u-YYQdAbopZ1QQC/view>" %}
CC4D Import Face Motion Tool
{% endembed %}

<figure><img src="https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2FA4PEwxZgR1FZyWYHjaOQ%2Fcc4d_importFaceMotion_01.gif?alt=media&amp;token=0cd550a0-c079-4565-b6bb-693867b29941" alt=""><figcaption><p>CC4D ImportFaceMotion Tool</p></figcaption></figure>

**CC4, iClone & Rokoko Studio**

* select the *face\_CTRL\*facialProfileName\** null object inside the :green\_circle: *MASTER\_CTRL+*  object
* click the **CC4D ImportFaceMotion** icon in CC4D Tools palette
* select the FBX file with the facial animation data&#x20;
* the script will import the *CC\_Base\_Body* mesh with the animated pose morph data and activate the retargeting on the *face\_CTRL\*facialProfileName\** null object under the *RETARGETING* tab&#x20;
* when the facial retargeting is active the control objects of the Face Rig can not be moved manually

{% embed url="<https://drive.google.com/file/d/1lz35Nztqhuz5xGnVUbN5tDkxipToTSxr/view>" %}
CC4D ImportFaceMotion Tool with the Moves by Maxon App
{% endembed %}

**Moves by Maxon App**

* load a *Face Capture* Object through the Moves by Maxon window that can be found under extensions
* click the **Create Pose** Morph Button in the 'Object' Tab of the *Face Capture* Object
* click the **Bake BlendShapes** under the 'Tag' Tab of the *Moves Pose Morph Helper Tag* on the polygon object that got created
* select the *Pose Morph Tag* of this object and set its mode to 'Animate'
* If not already in the scene copy the 'Maxon Moves Mesh' with the animated 'Pose Morph Tag' into the scene with your Control Rigged Character
* select both the *Maxon Moves Mesh* and the *face\_CTRL\*facialProfileName\** null object inside the :green\_circle: *MASTER\_CTRL+*  object while holding the Ctrl key
* click the **CC4D ImportFaceMotion** icon in CC4D Tools palette
* No file dialogue will open up as a mesh with a animated *Pose Morph* tag has been found within the selection
* The script will connect the animated pose morphs to the retargeting setup of the CC4D Face Rig and activate it

***

### ![](https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2FvHR4i3eXYl5RqNC9HuXC%2FCC4D_bake.png?alt=media\&token=9f47d6ba-1462-4440-912f-8863cddfecc6) CC4D Bake <a href="#cc4d-bake" id="cc4d-bake"></a>

This script will bake the postion, rotation, scale & parameters for the control objects of the CC4D Control Rig & Face Rig. Optionally it will also remove imported animation data that has been retargeted to the Rigs from the scene.

{% embed url="<https://drive.google.com/file/d/1PMaKBb8DX8MCKQdfzkH64XFNTUoR_qVY/view>" %}
CC4D Bake Tool
{% endembed %}

{% hint style="warning" %}
**Important:** \
The CC4D Bake tool will only bake the control objects of the CC4D Control Rig & Face Rig and only parameters that are marked with a red keyframe selection
{% endhint %}

<figure><img src="https://4247397058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEJ2tuWEwbI5z7m6uDYq6%2Fuploads%2FxqTLHrH3Taw6Rfhcpayx%2Fcc4d_bake.gif?alt=media&amp;token=c6d89256-f2c9-4f4d-9efd-4b4be7502f68" alt=""><figcaption><p>CC4D Bake Tool (The baking process in this preview has been speed up)</p></figcaption></figure>

* select the *CC4\_CTRL* null object inside the *CC4\_character* root null object, \
  the *face\_CTRL\*facialProfileName\** null object inside the :green\_circle: *MASTER\_CTRL+*  object or the control objects you want to bake
* click the **CC4D Bake** icon in CC4D Tools palette to open the bake dialoge
* select the parameters you want to bake and if you want to remove the motionSource objects from the scene
* click the *Start Baking* Button to beginn the baking process
* once the baking is done you can close the baking dialoge

***

### Manual Retargeting (Legacy Workflow)  <a href="#manual-retargeting" id="manual-retargeting"></a>

{% embed url="<https://www.youtube.com/watch?v=0okc45PGm0M>" %}

In this video I'm going to show you some manual approaches to retarget motion data coming from different sources like CC4/iClone, ActorCore, Mixamo or Rokoko to the CC4D Control Rig. I will give you some tips how to prepare the data if nescesary and how to bake everything down to the control objects of the rig. \
\
0:00 Introduction \
0:44 Character Creator 4 / iClone \
10:30 ActorCore \
17:05 Mixamo \
23:06 Rokoko \
28:57 Animation Baking
