# V2 Animation Cooking

`V2/ue/Tools/plan-v2-animation-cooking.py` expands
`V2/ue/Build/Cooking/v2-animation-cooking.json` into deterministic Unreal
commandlet commands for animation source sets and platform compression profiles.

Source coverage is FBX, glTF, and GLB. Every profile uses ACL-style bone
animation compression with platform error thresholds and sample rates. The plan
records root-motion policy, additive overlays, skeleton compatibility roots,
compressed `.acl` clips, `.uasset` packages, ACL error stats, deterministic
cache keys, and dependency sidecars ending in `*.v2deps.json`.

Required gates:

- `animation-cooking-plan-generated`
- `animation-cooking-acl-profiles`
- `animation-cooking-bone-compression-commands`
- `animation-cooking-additive-coverage`
- `animation-cooking-dependency-sidecars`

The primary metrics are `cook.animation.acl_profile_count`,
`cook.animation.bone_compression_command_count`,
`cook.animation.additive_set_count`, and
`cook.animation.dependency_sidecar_count`. The CI validator is:

```bash
python3 V2/ue/Tools/check-v2-animation-cooking.py
```
