Projectile integration

Arrows, bolts, thrown objects and magic against destructibles - the required Projectile Profile, the arrow's collision, the target's two decisions (damage and reaction), family defaults, precision options, SDF Fire Arrow, the SDF movement component, flying on through what it broke, embedding and pooling.

The same arrow plants in a wooden barrel, shatters a bottle and flies on through it, and glances off a stone statue. The target’s material decides, not the projectile. SDF answers one question about your game’s projectiles: what happens when a projectile hits this destructible? It is not a ballistics system.

No imposed projectile class

SDF does not require a particular projectile Actor class. Any Actor, or any system that produces an FHitResult, can drive it. Classification comes only from the hit’s gameplay tags, never from an Actor class, a Blueprint name, a movement component or an asset path.

Three ways in

Your projectileWhat to add
An Actor with automatic swept movement, like the demo arrowUSDFProjectileMovementComponent in place of the standard Projectile Movement, plus the impact adapter USDFProjectileImpactComponent. See Automatic swept projectiles
An Actor with your own movement or collision handlingThe impact adapter, calling Notify SDF Projectile Impact from your collision handling. See The impact adapter
Hitscan, or any system with an FHitResultThe plain SDF Projectile Hit Sender (USDFProjectileHitSenderComponent), calling Send SDF Projectile Hit. See The plain sender and hitscan

All three need a Projectile Profile. For the short version - your character’s bow, its arrows and fire arrows, in a few steps - see Your own character.

The Projectile Profile

Required

The adapter, like the plain sender, sends nothing without a Projectile Profile. With the field empty, every impact is dropped silently: the delivery result only reports bMissingProfile.

Create a Data Asset of class USDFProjectileHitProfile and assign it to the component’s Projectile Profile, or call SetProjectileProfile. One asset per projectile type, reused by every instance. It holds what the projectile does to props:

FieldDefaultWhat it decides
Damage25Health lost by a prop that has health
Destruction PowerVery LightThe power gate. Very Light passes the Fragile behavior’s gate (Ceramic, Glass and Glass Vessel by default). Normal props, such as barrels, crates, chains and ropes, need Light or more, or the hit returns Power Too Low
Impulse Strength300The push, before Impulse Per Speed Unit adds speed
Impulse Per Speed Unit0Optional speed contribution to the push
Maximum Impulse Strength1500Cap on the push
Damage TypenoneOptional engine damage type
Gameplay TagsnoneExtra tags. SDF.Source.Projectile is always added
Suppress Repeated ActorsonOne Actor is struck at most once by this projectile

The impact speed is the projectile’s velocity, so the built-in Behaviors’ 300 cm/s Minimum Impact Speed only refuses a very slow projectile.

Shipped profiles

ProfileValuesUsed by
Demo/Projectile/DA_SDF_StandArrowDamage 1000, MassiveThe showcase arrows. That is why one arrow breaks barrel 02, the powder keg and the gibbet chain; each target’s policy still decides
Demo/ProjectileProfiles/DA_SDF_Projectile_ArrowVery LightThe Integration Examples’ arrow: it breaks a pot, not a Normal barrel

Demo/ProjectileProfiles also holds DA_SDF_Projectile_CrossbowBolt, DA_SDF_Projectile_ThrownRock and DA_SDF_Projectile_MagicHeavy, as starting points for your own.

Choosing power

The prop side of the contract is the Behavior’s Minimum Destruction Power:

Prop’s BehaviorA projectile needs
Fragile (ceramic, glass, glass vessel)Very Light or more
Normal (every other family)Light or more
SturdyLight or more, and enough hits to take its 100 health
IndestructibleNever breaks

An arrow that should pin into a crate and break a pot keeps Very Light and an Impulse Per Speed Unit of 0, so a fast arrow does not become a battering ram. A thrown rock can take a speed contribution, kept in bounds by Maximum Impulse Strength. Keep the projectile ladder and the props’ ladder written down together: they are one design decision, not two.

Your arrow’s collision

The arrow’s collision must block PhysicsBody as well as WorldStatic and WorldDynamic. A prop that simulates, or whose projectiles strike its mesh only (Projectiles Strike Its Mesh Only, on by default), is met through its PhysicsBody mesh: an arrow that ignores PhysicsBody flies through it.

Fire arrows

SDF Fire Arrow (USDFFireArrowComponent), new in 2.0.1, makes any arrow - or any projectile - a fire arrow. Add it to the arrow’s Blueprint and place it on the arrow’s wrap, a little behind its tip. Nothing else to set:

  • While it burns, every hit the arrow sends carries SDF.Source.Fire, whatever its profile, through the arrow’s SDF Projectile Hit Sender or SDF Projectile Impact. A Flammable prop it strikes catches fire, even when the arrow is too weak to break it and even when the prop’s policy refuses projectile damage. On a prop that is not Flammable it behaves as any arrow.
  • It carries its flame. Effect (NS_SDF_FlamingArrow by default) burns on it the arrow’s whole life: in flight a flame core, embers, a soot trail and a heat haze; once the arrow stops, a planted fire that holds for Burn Seconds (4), dies down over Die Down Seconds (3) and smoulders for Smoulder Seconds (5) at Smoulder Strength (0.15). Where the arrow strikes, a second effect, turned to the surface, throws the impact’s sparks and burning pitch. Light Color and Light Radius (450 cm) set its light.
  • Water puts it out: the arrow stopping in a Water Volume, or water rising over it. A put-out arrow lights nothing. Put Out does the same from a script; Is Burning, Has Landed and Get Burn Strength read its state.
  • Place Behind Tip, off by default, moves the fire Wrap Behind Tip (12 cm) behind the tip of an SDF Projectile Movement (its Precision Tip Offset) when play begins: for a fire added to the arrow at run time. Off, it burns where you placed it in the arrow’s Blueprint.
  • The arrow’s stop is read from its Projectile Movement (On Projectile Stop) and from an SDF Projectile Impact that plants it in a prop.
  • An arrow destroyed, or put out by water, within 2.5 s of striking lets its impact’s burst go with it; the burst’s light goes dark once its flash is over.

It replaces the 2.0.0 demo component USDFDemoFireArrowComponent; existing references are redirected.

A Projectile Profile with SDF.Source.Fire in its Gameplay Tags lights props the same way, without a flame. The demo firing post’s Fire Arrows option (off by default) gives its arrows that tag and a flame on the tip. See Fire and burning props.

The target’s two decisions

Every destructible answers a projectile with two separate decisions, and SDF never merges them:

  1. Damage eligibility, Breakable by Projectile: may projectile-tagged hits damage or destroy this prop at all? Denied, a projectile hit changes nothing: no health, stage, state, budget, loot or persistence. Allowed, the full normal pipeline runs: health, Destruction Power, Minimum Impact Speed, budgets. A projectile is never an instant break.
  2. Projectile reaction: what becomes of the projectile itself, resolved separately for a target that survives the hit (Reaction When Target Survives) and one that breaks on it (Reaction When Target Breaks).

A wooden barrel with damage off and the reaction Embed still catches the arrow while losing no health. A projectile takes a partial break as a break of its target.

ReactionEffect
EmbedThe projectile plants into the hit component and stays there
DeflectSDF returns a mirrored direction, R = D - 2(D·N)N; your projectile applies it
StopThe projectile halts at the impact point
ContinueThe projectile passes through unchanged

SDF computes a Deflect direction only: speed, gravity, spin and the trajectory stay with your projectile system.

Source tags

SDF.Source.Projectile, with its children .Arrow, .CrossbowBolt, .ThrownRock and .Magic. Every built-in sender stamps its own tag, and the projectile sender guarantees SDF.Source.Projectile on every hit it builds. Tag matching is hierarchical, so a child tag still counts as a projectile.

Family defaults

When you create a destructible, section 3. What Is It Made Of? shows Breakable by Projectile under Projectile Impacts. It is seeded from the preset’s material family and editable before Generate; the advanced reactions and Max Embedded Projectiles sit in the expandable part of the same group. The authored policy is recorded in the manifest, so Regenerate reproduces your intent even if the preset default changes later.

FamilyDamageSurvivesBreaksMax Embedded
Wood / Crate / Barrel / Coffin / FurnitureoffEmbedContinue8
Glass / Stained Glass / Glass VesselonDeflectContinue8
CeramiconStopContinue8
StoneoffDeflectDeflect0
Metal (Assembled Parts) / ChainonDeflectContinue0
RopeonStopContinue8
GenericonStopContinue8

Damage on only lets a projectile’s hit be judged. The hit must still carry the Destruction Power the prop needs, from the projectile’s profile.

One setup or one placed copy

On one placed copy, without touching the shared profile, the destructible component offers:

  • Breakable by Projectile (Override): Use Profile, Force Allow or Force Deny;
  • Reaction When Target Survives (Override) and Reaction When Target Breaks (Override);
  • Max Embedded Projectiles (Override): -1 follows the profile.

Two barrels sharing one profile can answer the same arrow differently: the demo’s barrel 02 and pot 03 carry Force Allow on their placed copy. GetEffectiveProjectilePolicy() returns the policy the runtime actually uses.

As an exception, Override Projectile Policy on a setup’s Overrides or a placed copy’s Instance Overrides replaces the whole Projectile Impact Policy for that setup or copy: set its Breakable by Projectile and reactions as well. See Exceptions for one setup or one prop.

Precision: which component owns which option

OptionOnDefaultWhat it does
Precise Intact Mesh Collision (bPreciseIntactMeshCollision)SDF Projectile Movement (USDFProjectileMovementComponent)offNarrows SDF Static Mesh proxies against cooked triangle collision. The enlarged melee hit assist is not a valid arrow surface
Precision Tip Offset (PrecisionTipOffset)SDF Projectile Movement0World-space distance from the projectile’s origin to its collision tip. Adjust it when you change the arrow’s visual or collision
Only First Destructible Target (bOnlyFirstDestructibleTarget)The impact adapter, from the projectile hit sender it inheritsoffA later destructible contact in the same flight gets no damage and stays a physical blocker; its result reports bSuppressedAsAdditionalTarget
Projectiles Strike Its Mesh Only (bPreciseProjectileHits)The target’s Projectile Impact PolicyonA precise projectile strikes this prop only on its mesh

Both projectile options default off on generic adapters and movers, which keeps multi-target projectiles and the ordinary collision contract. Precision needs cooked triangle collision on the target mesh: missing geometry is not replaced with a permissive box. The demo range arrow is 90 cm long, with a 45 cm tip offset and both options on.

A prop’s hit assist box catches ordinary arrows - it blocks every channel but Camera and Visibility - so a rope or a bottle stays easy to hit. On a destructible Actor with Use Mesh Collision When Intact, every channel ignores that box instead: arrows meet the mesh’s own hulls, or fly past them to what stands beside or behind the prop. See Intact collision and Hit assist.

Projectiles Strike Its Mesh Only

A prop that precise projectiles should strike wherever they meet its collision box, not only on its mesh, clears Projectiles Strike Its Mesh Only in its projectile policy. Its intact collision box then stays in the projectile’s way: a thin or open prop, such as a stool’s legs and seat, is hit anywhere inside its outline, and an arrow stopped on it stops at that box. Its padded hit box is never struck by a precise projectile either way.

  • Every copy of a setup: the profile’s Overrides > Override Projectile Policy, then clear Projectiles Strike Its Mesh Only in its Projectile Impact Policy.
  • One placed copy: the same, under the destructible component’s Instance Overrides. The demo fire arena’s burning chock, a stool, is set this way.
  • The exception replaces the whole policy for that setup or copy: set its Breakable by Projectile and reactions as well.

Automatic swept projectiles

For all four reactions to cooperate with Unreal’s blocking collisions, use USDFProjectileMovementComponent instead of the standard UProjectileMovementComponent, alongside the adapter:

  1. Keep your own Actor or Blueprint class, collision body and visuals. Do not add two active movement components.
  2. Copy your existing movement settings (speed, gravity, homing) to the SDF movement component, and assign the collision body as its Updated Component.
  3. On the adapter, set bAutoHandleComponentHit and bAutoApplyReaction to true.

The demo projectile uses this setup. The SDF mover owns automatic delivery in HandleBlockingHit; the adapter does not also bind OnComponentHit in this setup. Do not call Notify manually for those same impacts. Continue and Deflect skip the engine’s following default stop or bounce; Stop stays stopped; Embed stays attached and inactive.

With no compatible SDF delivery, a missing profile, or automatic handling off, the normal Unreal stop or bounce applies. With bAutoApplyReaction false, the SDF mover reports the result and leaves the physical handling to normal movement or your code.

The adapter alone on standard movement is not enough

Unreal’s own UProjectileMovementComponent stops on every blocking hit it does not bounce off, after the hit event and whatever that event set: a projectile it moves cannot continue, and an arrow freezes in the first prop it breaks. Adding only the adapter to it does not guarantee Continue or Deflect. Use USDFProjectileMovementComponent, or override HandleBlockingHit in your own movement to return AdvanceNextSubstep for the contact the projectile continues through, as the SDF mover does. Custom movement must consume the adapter’s result at its own collision-response point.

A projectile in flight shoves nothing

While the SDF mover flies it, the projectile’s collision body collides by query only: it strikes what its sweep meets and shoves nothing by physics, even where a precise flight takes it inside a simulated prop’s collision box on its way to the mesh. The body gets its own collision back when the flight ends, stopped, embedded or with the mover deactivated, so a stopped arrow can still fall under physics. In SDF 1.0, a precise arrow let into a simulated prop’s collision box moved there as a kinematic body and threw the prop with it.

What Continue ignores

Continue excludes the contacted primitive if it still blocks, plus the presentation primitives newly created by this exact destructive hit, such as fresh glass shards or Chaos pieces that could otherwise block the arrow at once. Debris that existed before, and other regions, are not included. The mover never ignores a whole Actor or turns off collision with other targets. These exclusions last for the flight; your own collision ignores are kept.

The impact adapter

Add USDFProjectileImpactComponent to your projectile Actor. It is the projectile hit sender, by inheritance. Notify SDF Projectile Impact (NotifyProjectileImpact(Target, Hit, IncomingVelocity, ...)) delivers the SDF hit, resolves the target’s reaction, applies it when Auto Apply Reaction is on, and broadcasts the result. A projectile that is already embedded refuses further deliveries, so a planted arrow never damages its host again.

PropertyDefaultWhat it does
Auto Apply ReactiononApplies the resolved reaction. Off hands full control to your code
Embed Depth12 cmHow deep past the impact point the projectile plants itself
Embed Rotation OffsetzeroAdded to the arrival rotation, for meshes not pointing along X
Deflect Speed Retention0.4Share of the incoming speed kept on an applied Deflect. A property of the projectile, never of the material
Simulate Physics On ReleaseonA released projectile drops with simple physics and stays in the world
Auto Handle Component HitoffWith the SDF mover, the mover delivers; otherwise binds OnComponentHit once at BeginPlay

Events: OnProjectileReactionResolved (every resolved reaction, applied or not), OnProjectileEmbedded and OnProjectileReleased(Reason, HostActor). ReleaseEmbed lets the projectile go; IsEmbedded reads its state. The component never ticks.

The demo arrow keeps 8 % of its speed on a deflection and switches to normal gravity once deflected; that tuning belongs to the demo arrow class only, not to the generic defaults.

The plain sender and hitscan

SDF Projectile Hit Sender with a trace’s FHitResult needs no projectile Actor. Send SDF Projectile Hit takes:

ParameterNotes
TargetActorOptional when HitResult contains an Actor
HitResultSupplies impact point and normal
ProjectileVelocityDrives impact direction, impact speed and the optional speed contribution
InstigatorControllerController credited with the shot
DamageCauserUsually the projectile Actor
ProjectileObjectAny UObject: the spell, the ammo definition, the weapon that fired
RandomSeed-1 to generate one

The result, FSDFProjectileDeliveryResult, carries bDelivered, bSuppressedAsDuplicate, bSuppressedAsAdditionalTarget, bTargetSupportsDestruction, bMissingProfile, ProjectileSpeed, Target, SentHit and DestructionResult, and the target’s decisions: bProjectileDamageAllowed, ProjectileReaction, DeflectedDirection and the embed anchor (EmbedComponent, EmbedBoneName, EmbedLocation, EmbedRotation). Hitscan callers read the reaction the same way.

Custom movement and Continue

For custom movement, leave Auto Apply Reaction off, or use a projectile without UProjectileMovementComponent, and read the broadcast result: SDF forces nothing and only suggests the deflect direction. Apply the result’s Projectile Reaction yourself: Embed, Deflect along Deflected Direction, Continue or Stop.

On Continue, ignore the prop the projectile broke (Ignore Actor When Moving) and keep its velocity. The plain sender has the projectile’s root body ignore the pieces that very break made, for the rest of its flight, so it reaches the prop behind instead of stopping on fresh shards: two bottles in line both break. New in 2.0.1. It does so when the sender sits on the projectile - sent as the projectile, or moved by a Projectile Movement - never on a character. Reset SDF Projectile Impacts gives those pieces back to a pooled projectile.

A standard UProjectileMovementComponent cannot continue on its own: see the warning under Automatic swept projectiles.

Embedding and its budget

The target owns the embed budget, Max Embedded Projectiles, first in first out:

  • past the ceiling, the oldest embed is released: detached, dropped with simple physics and kept in the world, never destroyed;
  • a ceiling of 0 refuses embedding;
  • when the host breaks or is reset, every embed is released the same way;
  • the projectile that delivered a killing hit is never among them: it embeds only on a surviving target, so its break reaction, typically Continue, is honoured.

OnProjectileReleased gives the reason: Host Destroyed, Host Reset, Embed Budget or Manual. Released arrows stay in the world: the debris removal settings do not remove them. Embedded projectiles are not saved.

Object pooling

Pooled projectiles keep their component state between uses. When a projectile is taken from the pool, call Reset SDF Projectile Impacts (ResetProjectileImpacts) to clear its per-target history and its single-target history and give back the fresh pieces its body ignored after a Continue, and, with the SDF mover, ResetSDFCollisionIgnores to clear the ignores its Continue reactions added. Calling them when the projectile is taken from the pool, not when it is returned, means a projectile destroyed rather than pooled needs no special handling. SetProjectileProfile swaps the profile, for a pool of generic projectiles that change identity per shot.

Blueprint example

Projectile OnHit / OnComponentHit (your own movement)
    -> the impact adapter component -> Notify SDF Projectile Impact
         Target Actor         = Other Actor
         Hit Result           = Hit
         Incoming Velocity    = Get Velocity
         Instigator           = Owner -> Get Controller
         Damage Causer        = self
         Random Seed          = -1
    -> Branch on Destruction Result -> b Destruction Triggered
         True  -> spawn a stronger impact effect
         False -> spawn the default impact effect

C++ example

void AMyArrow::OnImpact(const FHitResult& HitResult)
{
    const FSDFProjectileDeliveryResult Delivery = ProjectileSender->SendProjectileHit(
        HitResult.GetActor(),
        HitResult,
        GetVelocity(),
        GetInstigatorController(),
        this,
        this,
        /* RandomSeed */ -1);

    if (Delivery.bMissingProfile)
    {
        UE_LOG(LogTemp, Warning, TEXT("Arrow has no SDF projectile profile assigned"));
    }
}

Hanging props

An arrow breaks a Chain-preset chain like any prop, with Light power or more. With Chain Hit Reach set on a hanging prop’s attachment, a projectile that strikes the prop near its ring strikes the chain instead. A hanging prop’s hit assist stops at the top of its mesh, so an arrow aimed at its chain or rope, just above the prop, reaches the chain or rope instead of glancing off the prop. See Hanging props.

In a networked game

The server decides every break: a projectile hit sent on a client changes nothing, and its result says Server Decides. A projectile that runs on the server delivers there. See Networked games.

Common problems

SymptomCause
The projectile does nothing, bMissingProfile is trueNo Projectile Profile assigned
Delivered, reason Power Too LowThe profile’s power is below the prop’s Minimum Destruction Power: a Normal prop needs Light
Delivered, reason Projectile PolicyThe target’s policy refuses projectile damage: tick Breakable by Projectile, or Force Allow on the copy
The projectile stops after Continue or DeflectUse the SDF movement component with the adapter, not the standard movement plus adapter; remove duplicate manual delivery
An arrow freezes in the first prop it breaksIt is moved by Unreal’s own Projectile Movement, which stops on every blocking hit: use SDF Projectile Movement
An arrow with its own movement stops on the shards of the bottle it brokeOn Continue, ignore the broken prop and keep the velocity; the plain sender must sit on the projectile for its body to ignore the fresh pieces
An arrow flies through a simulated propThe arrow’s collision does not block PhysicsBody
A pooled projectile stops working after reuseCall Reset SDF Projectile Impacts, and ResetSDFCollisionIgnores with the SDF mover
A precise arrow misses a stool between its legsClear Projectiles Strike Its Mesh Only on that prop
A fire arrow does not light a Flammable propThe fire was put out by water, or the arrow carries no SDF Fire Arrow and its profile no SDF.Source.Fire tag

Last updated: 2026-10-29

Type to search titles, sections and keywords.