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.

SettingPropertyDefaultMeaning
Propagation RadiusPropagationRadius250.0Sphere radius searched for neighbours, cm
Propagation DamagePropagationDamage100.0Damage of the propagated hit
Propagation PowerPropagationPowerLightDestruction Power of the propagated hit
Propagation ImpulsePropagationImpulse600.0Impulse of the propagated hit
Max Propagation DepthMaxPropagationDepth2Hard 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:

  • Damage from PropagationDamage, and ImpulseStrength from PropagationImpulse, after falloff;
  • DestructionPower = PropagationPower;
  • ImpactDirection = outward, from the source toward the neighbour;
  • PropagationDepth = parent depth + 1;
  • the root hit’s Instigator, DamageCauser, DamageType and GameplayTags, plus SDF.Source.Radial;
  • RandomSeed derived 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.

FieldMeaning
bExecutedA chain actually ran
RootActorThe object that started it
RootSeedSeed the chain was derived from
TargetsDiscoveredCompatible neighbours found
HitsPropagatedHits actually delivered
DestroyedTargetsNeighbours destroyed by the chain
MaximumDepthReachedDeepest level reached
TargetsIgnoredAlreadyVisitedSuppressed by the visited set
TargetsIgnoredByMaximumDepthNeighbours skipped because the cap was reached
SourcesBlockedByMaximumDepthSources that could not propagate further
UniqueActorsVisitedNumber of targets the chain visited
HitResultsPer-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 2 unless you are building an intentional set piece.
  • Use the chain result counters while tuning: a high TargetsIgnoredByMaximumDepth means 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:

RadialPropagationBreak What Rests On It
TriggerYour code calls ApplyRadialDestructionA prop with the Propagation module breaksA prop with the option breaks
ReachesEvery destructible in the sphereEvery destructible in its radiusOnly the props resting on it
DepthYou set PropagationDepth on the requestManaged by the chainOne wave: the props it breaks pass nothing on
TagSDF.Source.RadialSDF.Source.RadialSDF.Source.Chain
ResultFSDFRadialDestructionResultFSDFPropagationChainResultEach 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

Type to search titles, sections and keywords.