Skip to content

Mass Forge Projectiles ​

Mass Forge projectiles are short-lived Mass entities. Movement runs in UMF_ProjectileProcessor; UMF_ProjectileSubsystem creates projectile entities, exposes renderer-neutral snapshots, and crosses back to gameplay only after Mass processing has finished. This keeps projectile presentation replaceable and damage authoritative.

Setup ​

Blueprint close-up launching a Mass Forge entity projectile with separate source and target handles, locations, and speed

The convenience node launches a real Mass projectile. Its optional damage resolves from the projectile's impact path, never from the input event shown at the left.

  1. Add Mass Forge Projectile Trait to a Mass Entity Config.

Current projectile Entity Config with Mass Forge Transform Trait and Mass Forge Projectile Trait, without per-projectile Actor requirements

The generated projectile config is intentionally small. Transform stores its world state; Projectile stores the actorless flight and impact contract. Presentation remains a replaceable snapshot consumer. 2. Build an FMFProjectileLaunchRequest with that config, start/target locations, speed, optional arc, and optional authored release delay. 3. For a direct hit, assign a Damage Definition and FMFDamageRequest. For an area spell or project-owned effect, leave the definition empty and assign a stable ImpactCue. 4. Call Launch Projectile on UMF_ProjectileSubsystem. 5. Render Get Projectile Snapshots with Niagara, HISM, actors, or no visual representation. Gameplay does not depend on the renderer. 6. Listen to On Projectile Resolved for area queries, sound/VFX, healing, or other project-specific impact work.

Timing contract ​

LaunchDelaySeconds is the animation release point. A projectile remains hidden and stationary until that delay expires, then travels through the Mass processor. Optional damage is committed at impact—not at button press and not when an attack animation begins.

The included Horde Defense, Survivor Roguelite, and Battle Simulator examples all use this path:

  • player fireballs, nova shards, and meteors;
  • hostile horde bolts;
  • battle ranger volleys;
  • battle support/healing bolts.

Battle melee contacts also use the same impact queue on a renderer-free presentation channel. That keeps damage ordering symmetric between the two armies without drawing a fake projectile for a sword strike.

The castle samples assign their core, trail, explosion and smoke materials on the saved stage. The renderer consumes Mass projectile snapshots and keeps presentation separate from transport. Fireball meshes and materials are replaceable; damage still resolves from the real impact record, not from a particle touching a target. Renderer-free channel 3 carries deferred melee/contact transactions without drawing a fake ranged shot for a sword strike. A project can instead feed its own Niagara or Actor renderer from the same snapshots.

Castle profiles carry explicit release/contact markers. Use the assigned clip's release time rather than assuming that the older character's frame 13/30 fits every rig. Animation begins first, the projectile becomes visible at release, and damage commits only at impact. See Character Animation and VAT.

Third-Person Horde Defense showing a visible Mass projectile traveling from the player into a dense enemy formation

A real castle match with enemy spell flight visible. Replacing this presentation does not change the projectile entity's launch/impact contract.

Survivor Roguelite showing an automatic Arc Bolt projectile traveling across a large arena toward active enemies

A current Survivor cast produces a visible core and trail over the actual undercroft population. Allocation, simulation, representation and animation remain separate scale decisions.

Scale and boundaries ​

This first-release implementation is a deterministic point-to-point/arc flight model. It is intentionally not a physics projectile or a swept collision system. Projects that need walls, ricochet, prediction, homing, or spatial collision can extend the processor/fragment while retaining the same launch, snapshot, safe-impact, and damage contracts.

Projectile entities are destroyed after impact or lifetime expiry. Pending impacts are bounded, map/reset boundaries clear active projectile entities, and gameplay damage is processed only while the Mass entity manager is idle.

The showcase audit publishes ProjectileVisibleSamples and PlayerProjectileImpacts. Both must be nonzero in Third-Person Horde Defense, its VAT duplicate, and Survivor Roguelite, preventing a transaction-only implementation from passing when the player cannot actually see projectile travel and impact feedback.

MassForge v0.3.0 · Blueprint and C++ documentation.