Chain reactions
Opt-in bounded propagation through the Propagation module — how a destroyed object can damage its neighbours, with depth caps, cycle prevention and deterministic ordering.
Propagation lets a destroyed object deliver a bounded radial hit to the destructibles around it: a heavy prop smashes a crate, and the crate’s break knocks over the pots beside it. It is off by default.
Heavy Prop
↓
Crate
↙ ↘
Pot Pot
Enabling it
Add the Propagation module to the Behavior of the object that should start a chain when it
breaks. Every prop that uses that Behavior then propagates; a Behavior without the module does not.
A setup without a Behavior carries the same settings on its own profile, behind
bAllowDestructionPropagation.
| Setting | Property | Default | Meaning |
|---|---|---|---|
| Propagation Radius | PropagationRadius | 250.0 | Sphere radius searched for neighbours, cm |
| Propagation Damage | PropagationDamage | 100.0 | Damage of the propagated hit |
| Propagation Power | PropagationPower | Light | Destruction Power of the propagated hit |
| Propagation Impulse | PropagationImpulse | 600.0 | Impulse of the propagated hit |
| Max Propagation Depth | MaxPropagationDepth | 2 | Hard depth cap when this prop starts a chain |
The Propagation module’s settings have no exception: to give one kind of prop its own, duplicate the shared Behavior into your project and pick the duplicate for that setup. See Behaviors and Materials.
Depth is capped by the root
MaxPropagationDepth is the hard maximum for the chain this prop started. A neighbour met later in
the chain may reduce the remaining depth, but it can never increase it. One explosive barrel cannot
be turned into an unbounded chain by a neighbour with a larger setting.
What a propagated hit looks like
Each step is delivered as a radial hit centred on the broken prop’s actor, through the same path as
Radial destruction, with Linear falloff:
a neighbour near the edge of the radius receives less damage and impulse than one beside the source.
Destruction Power never falls off. Each neighbour receives an ordinary FSDFDestructionHit:
DamagefromPropagationDamage, andImpulseStrengthfromPropagationImpulse, after falloff;DestructionPower=PropagationPower;ImpactDirection= outward, from the source toward the neighbour;PropagationDepth= parent depth + 1;- the root hit’s
Instigator,DamageCauser,DamageTypeandGameplayTags, plusSDF.Source.Radial; RandomSeedderived deterministically (see below).
The neighbour weighs it against its own effective profile like any other hit. A pot that needs Very Light breaks; a statue that needs Heavy ignores a Light propagation and only reacts.
Cycle prevention
The subsystem keeps a visited set for the duration of one chain. Each destructible it reached is in
it, by its own component: a window with several panes can see each pane reached once, and none
twice. A target already visited is never queued again, so A → B → A is impossible. The number of
such suppressions is reported as TargetsIgnoredAlreadyVisited.
The chain is processed as a queue, not as recursion, which keeps the call stack flat however many objects are involved.
Deterministic ordering and seeds
Candidates are gathered and placed in a stable order before any hit is delivered, so the same scene produces the same chain every run.
CalculatePropagationSeed(ParentSeed, SourceDepth, SourceActor) derives each step’s seed from its
parent seed and stable source context. Given the same root seed, a chain replays identically —
useful to capture a bug, and for deterministic automated tests.
Chain diagnostics
When a chain completes, the subsystem’s OnPropagationChainCompleted broadcasts an
FSDFPropagationChainResult. GetLastPropagationChainResult returns the same data on demand.
| Field | Meaning |
|---|---|
bExecuted | A chain actually ran |
RootActor | The object that started it |
RootSeed | Seed the chain was derived from |
TargetsDiscovered | Compatible neighbours found |
HitsPropagated | Hits actually delivered |
DestroyedTargets | Neighbours destroyed by the chain |
MaximumDepthReached | Deepest level reached |
TargetsIgnoredAlreadyVisited | Suppressed by the visited set |
TargetsIgnoredByMaximumDepth | Neighbours skipped because the cap was reached |
SourcesBlockedByMaximumDepth | Sources that could not propagate further |
UniqueActorsVisited | Number of targets the chain visited |
HitResults | Per-hit records: source, target, depth, seed, destruction result |
Each FSDFPropagationHitResult contains the full FSDFDestructionResult of that target, so a chain
can be audited hit by hit.
Budgets still apply
Propagated destruction is normal destruction. It competes for the same per-frame destruction event admission and the same Chaos representation budget as player-caused destruction, and it falls back to Swap And Scatter under pressure in exactly the same way. A chain in a crowded scene degrades instead of spiking. See Performance.
In a networked game, propagation is judged on the server only; every machine then shows the breaks it caused. See Networked games.
Tuning guidance
- Start with Propagation Radius slightly larger than the visual footprint of the source object. A radius that reaches across a corridor turns one crate into a room-wide cascade.
- Give the chain a lower Propagation Power than the player’s heavy attack. Chains that break everything read as a bug rather than as a reaction.
- Keep Max Propagation Depth at
2unless you are building an intentional set piece. - Use the chain result counters while tuning: a high
TargetsIgnoredByMaximumDepthmeans the layout wants a smaller radius, not a bigger cap.
Propagation, radial and Break What Rests On It
Three features reach other props. They are triggered differently:
| Radial | Propagation | Break What Rests On It | |
|---|---|---|---|
| Trigger | Your code calls ApplyRadialDestruction | A prop with the Propagation module breaks | A prop with the option breaks |
| Reaches | Every destructible in the sphere | Every destructible in its radius | Only the props resting on it |
| Depth | You set PropagationDepth on the request | Managed by the chain | One wave: the props it breaks pass nothing on |
| Tag | SDF.Source.Radial | SDF.Source.Radial | SDF.Source.Chain |
| Result | FSDFRadialDestructionResult | FSDFPropagationChainResult | Each prop’s own result |
See Radial destruction and Break What Rests On It. An exploding prop is a separate feature again: see Explosions, break point and cover.
Last updated: 2026-10-27