Bake the object couplings a shot carries, the per-beat attachTo handoffs and the persistent staged mounts (#674), into follow clips once the parents' poses have compiled.
attachTo, already validated by performShot's action scan, rides the child on the parent's bone in scene space and emits the grab, attach, detach and release handoffEvents. Each staged mount descends through the same baker, compileAttach, spanning the whole shot, so a rider rides every beat without re-issuing attachTo; an explicit attachTo for the same child this shot replaces its mount, and a mount emits no handoff events because it is standing scene state. A mount's parent rig and bone are validated here, since staging placed the parent without skeletons, and returned as violations.
Couplings chain (#1140): a parent that is itself a coupled child this shot, such as a rider mounted on an animal and carrying a pole, is baked first, and its riders compose onto its baked frame per sample through any depth. That frame is read from all of the parent's baked clips through bakedTransformFromClipsAt, the channel authority playback uses, so before the parent's first coupling starts its riders follow its staged placement and across a handoff they follow whichever coupling is in effect. A coupling cycle has no world composition, so its members are reported in one violation and never baked.
Returns the baked clips in bake order, parents before riders, with a child's attach clips in start order and repeats suffixed attach:<child>:2, ...; the handoff events; and the violations.
Bake the object couplings a shot carries, the per-beat
attachTohandoffs and the persistent stagedmounts(#674), into follow clips once the parents' poses have compiled.attachTo, already validated byperformShot's action scan, rides the child on the parent's bone in scene space and emits the grab, attach, detach and release handoffEvents. Each staged mount descends through the same baker, compileAttach, spanning the whole shot, so a rider rides every beat without re-issuingattachTo; an explicitattachTofor the same child this shot replaces its mount, and a mount emits no handoff events because it is standing scene state. A mount's parent rig and bone are validated here, since staging placed the parent without skeletons, and returned as violations.Couplings chain (#1140): a parent that is itself a coupled child this shot, such as a rider mounted on an animal and carrying a pole, is baked first, and its riders compose onto its baked frame per sample through any depth. That frame is read from all of the parent's baked clips through bakedTransformFromClipsAt, the channel authority playback uses, so before the parent's first coupling starts its riders follow its staged placement and across a handoff they follow whichever coupling is in effect. A coupling cycle has no world composition, so its members are reported in one violation and never baked.
Returns the baked clips in bake order, parents before riders, with a child's attach clips in start order and repeats suffixed
attach:<child>:2, ...; the handoff events; and the violations.