> For the complete documentation index, see [llms.txt](https://docs.motorica.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.motorica.com/learn/concepts/style-cloning.md).

# Style Cloning

Learn how Style Cloning turns your own motion capture into a new Style for Motion Stage and Motion Factory.

{% hint style="info" icon="lock" %}
**Enterprise only.** Style Cloning is available with an enterprise license. Contact Sales for more information.
{% endhint %}

<figure><img src="https://3701240830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd4XRcFZ7K0KOxbfN13Yz%2Fuploads%2Fb05sPN7p8A4dVqkcuDAj%2Fcreate-06-select-dataset.png?alt=media" alt="The Style Cloning page listing style datasets, with one dataset selected"><figcaption><p>The Style Cloning page.</p></figcaption></figure>

Style Cloning trains a new Style from your own motion capture. Use it when you need a style Motorica doesn't offer, such as a specific character's walk, a creature, or a combat stance. When training is done, your Style Clone appears in your Style Library in Motion Stage and Motion Factory.

## How it works

1. **Record** about 10 minutes of mocap in the style, covering every kind of movement you want to generate.
2. **Upload** the files to a style dataset. Motorica checks each file and extracts its root motion.
3. **Review** every file in the 3D preview and fix anything that looks wrong.
4. **Train** by starting style cloning. Training usually takes 3–5 days, and we commit to delivering within 2 weeks.
5. **Use** your Style Clone in Motion Stage and Motion Factory.

## Style datasets

A style dataset holds the animation files for one style. Motorica learns from every frame you upload, so what goes into the dataset is what comes out of the Style Clone.

* **Keep it to the style.** Trim T-poses, calibration poses, mistakes and anything else you don't want the model to learn.
* **Use one dataset per state.** If your character moves differently in combat and when crouched, create a separate dataset for each.
* **Cover what you'll generate.** If you want runs or strafes from your Style Clone, the dataset needs runs and strafes.

A dataset should total about 10 minutes. For what to record and how to prepare it, see [Mocap Recording Guidelines](/documentation/style-cloning/reference/mocap-recording-guidelines.md) and [Data Preparation](/documentation/style-cloning/reference/data-preparation.md).

## Root Motion Extraction

Your Style Clone learns how your actor's body moves in relation to its root. That's how Motion Stage and Motion Factory can generate the body along any root motion path you give them. So the root motion in your dataset matters as much as the body motion.

### Automatic extraction

Mocap often has no usable root motion, so Motorica creates it for every file you upload, based on how the body moves. This works whether or not your file has root motion of its own. If your file already has root motion you trust, you can switch extraction off for that file and Motorica will use yours.

### When a clip needs editing

Extraction follows the body, which suits walks, runs and arcs. For strafes, idles and turns in place, the body doesn't show what the clip is meant to do. For these you can lock the root: **Lock rotation** keeps it facing one direction, and **Lock position** keeps it in one spot.

### Why editing can lower quality

A lock overrides what the body does. If the lock doesn't match the motion, the root and the body disagree, and your Style Clone learns from that mismatch. That's why the editor warns you before you change anything, and why the default extraction is the right choice for most clips. Edit root motion only when the preview shows a problem or you know a clip needs it. See [Edit an Animation's Root Motion Data](/documentation/style-cloning/how-to-guides/edit-an-animations-root-motion-data.md).

### Errors and warnings

Every uploaded file is checked, and the results show in the dataset's **Errors** and **Warnings** columns.

* **Errors** mean the file can't be used as it is. For example, its skeleton doesn't match the Motorica hierarchy, or the file can't be read. Fix it in your DCC and upload it again.
* **Warnings** flag motion that may need attention, including the extracted root motion. Some can be fixed by editing the root motion. Others mean the clip should be cleaned up or left out.

For what each one means, see [Data Preparation > Errors and warnings](/documentation/style-cloning/reference/data-preparation.md#errors-and-warnings).

## Reviewing your data

The dataset page plays each file in the same 3D viewer as Motion Stage and Motion Factory. You can play and scrub through the clip, rotate the view, and see the root path and the direction the root faces at every frame.

**Dataset checkup** tracks how many files you've previewed. View every file before you start style cloning. Even a file with no warnings can have problems that an automatic check won't catch.

## Training your Style Clone

When your datasets are ready, select them on the Style Cloning page, start style cloning and name the model. Each dataset you select becomes one Style Clone in that model.

Motorica takes a snapshot of the selected datasets when you send the request. Changes you make to them afterwards aren't included in that model.

Training usually takes 3–5 days, and we commit to delivering within 2 weeks. You'll be notified when it's done, and your Style Clones appear in your Style Library in Motion Stage and Motion Factory.

## Next steps

* [Create a Style Clone](/documentation/style-cloning/how-to-guides/create-a-style-clone.md): the full process, step by step
* [Data Preparation](/documentation/style-cloning/reference/data-preparation.md): what your files need before upload
* [Edit an Animation's Root Motion Data](/documentation/style-cloning/how-to-guides/edit-an-animations-root-motion-data.md): for strafes, idles and turns in place
