Log inGet started
World

The House Wears a Face

Branchmain
Branchesmain
Commit8e7f3baa4a

README.md

HallChain

A whip travelling down a chain of nested segments.

The torn banner on the gate in shot 1. Each link is a child of the one before it, so a small angle at every joint accumulates into a snap at the loose end, and grow widens the angle toward the tip so the far end carries most of the travel. The chain is collected by walking childPrefix down the hierarchy, up to 64 links deep, the first time it ticks.

Phase is accumulated from dt, so a take is repeatable.

What it carries

  • childPrefix — the name prefix that identifies the next link.
  • amp, period, phaseStep — the wave, and how much of a turn each link lags the one above it. phaseStep is what makes it a whip and not a wag.
  • axisX, axisY, axisZ — the joint axis.
  • droop — a constant angle added at every joint, so a hanging thing hangs.

Who drives it

Nothing. It has no methods and no schedule; the banner moves for the whole film, and shot 1 is where it is seen.

Cost

One rotation write per link per tick. It guards both hooks on engine.mode: the film runs in edit with the simulation going, where the engine fires both, and an unguarded body halves the authored 0.7 s snap.