Retarget selected donor clips onto a prepared target
asset_retarget_animationsRetarget donor GLB animation clips onto a prepared target skeleton with world-space rest correction, preserving mesh, materials, UVs, and existing clips, then publish a game-ready GLB.
Instructions
Load a user-supplied local donor GLB or fetch the selected pinned release donors, retarget their clips onto a prepared target skeleton with a world-space rest correction, preserve the target's mesh/materials/UVs and (by default) its existing clips, and publish a game minimal GLB. For a pinned clip, root motion requires the matching _RM donor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"output": "<output>",
"projectRoot": "<projectRoot>",
"clips": "<clips>"
},
"name": "asset_retarget_animations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | Yes | ||
| output | Yes | Output .glb path under projectRoot. | |
| target | Yes | Absolute path to the prepared target GLB (e.g. the AETHER sample). | |
| mapping | No | ||
| priorDigest | No | ||
| projectRoot | Yes | Project root that must contain the output. | |
| keepExistingClips | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| clips | Yes | ||
| output | Yes | ||
| sha256 | Yes | ||
| status | Yes | ||
| mapping | Yes | ||
| replaced | Yes | ||
| alreadyExisted | Yes | ||
| animationBytes | Yes | ||
| animationCount | Yes | ||
| meshTextureBytes | Yes | ||
| keepExistingClips | Yes |