Compare all eight elements / Unity version of this element

What you will build

Build Rocks, solid pieces that fly upward and bounce on the floor, with Dust, soft clouds that expand around them. Rocks use a 3D mesh; dust uses translucent images. The dust appears 0.08 seconds after the effect starts. It uses a fixed delay rather than a rock-collision event.

Rocks draws solid meshes that bounce on the floor. Dust adds translucent clouds after a fixed delay of 0.08 seconds.
Rocks draws solid meshes that bounce on the floor. Dust adds translucent clouds after a fixed delay of 0.08 seconds.

Preparation: coordinates and a test level

Use Niagara, Unreal Engine 5.8’s particle-effects editor. An Emitter emits particles; a System combines emitters into one effect. Choose a regular Niagara emitter, rather than Lightweight Emitters or Niagara Fluids. Other Unreal Engine versions may show different creation dialogs or control names. The instructions retain the English control names so you can find them in the editor.

  1. Open a 3D project using the Blank template. Save a practice Level: the scene where you place and test the effect. In the Content Browser, the panel listing your assets, create a VFX/Earth folder. If Niagara is missing, open Edit → Plugins and check that Niagara is enabled.
    Keep the practice scene and its assets together
    Keep the practice scene and its assets together
  2. Add a standard cube for the floor. Set Location to (0,0,-5) and Scale to (4,4,0.1). Unreal uses Z-up and centimeters; the original cube is 100 cm wide, so its top surface is now at Z=0. Add a second cube at (200,0,50), scale one, as a size reference.
    Scale reference
    Scale reference
  3. Right-click an empty area in the Content Browser and choose FX → Niagara System. Create a system containing the Simple Sprite Burst emitter template and name it NS_Earth. If your Unreal Engine version first creates an empty system, choose Add Emitter and add Simple Sprite Burst.
    Inspect the parent and child roles separately
    Inspect the parent and child roles separately
  4. Drag NS_Earth from the Content Browser into the Level. This placed object is an Actor. Set its Rotation to zero and Scale to one. Double-click NS_Earth to open it, rename the first emitter Rocks (the flying rocks), and set Emitter Properties → Sim Target to CPUSim so the CPU calculates its particles.
    Inspect the parent and child roles separately
    Inspect the parent and child roles separately
  5. Open System State and set Loop Behavior to Once, with Loop Duration 3 seconds. Open Emitter State and choose Self, Once, a two-second duration and Inactive Response Complete. Once plays it once. Self uses the emitter’s own timing; Complete lets existing particles finish after emission stops.
    Set timing for the whole effect and each emitter
    Set timing for the whole effect and each emitter

Preview is the playback window inside the Niagara Editor. Its repeat-playback button is separate from the emitter’s own loop settings above. Keep the camera still and use a light-gray floor. If automatic exposure keeps changing the screen brightness, lock exposure with a Post Process Volume before comparing the effect.

Read Niagara inputs and execution groups

Select an emitter in System Overview, the effect’s structure panel. Add a Module, a block that performs a task such as setting speed or size, using a group’s + button. The dropdown beside an input lets you choose a fixed Direct Set value, a Random Range between minimum and maximum, or a Float from Curve graph. Initialize Particle sets starting values. Lifetime is how many seconds a particle remains alive; choose Direct Set for a fixed duration or Random for a range. Select a mode before entering values if it currently says Unset.

Emitter Update decides when and how many particles to emit. Particle Spawn runs once when each particle appears, setting its initial position and speed. Particle Update runs every update while that particle is alive, changing its movement and appearance. Modules within a group run from top to bottom. A Renderer draws particles as flat images (Sprites), 3D shapes (Meshes), or connected strips (Ribbons).

A curve changes a value over time. With Float from Curve, link Curve Index to the specified time variable. Particles.NormalizedAge is progress through the particle’s lifetime: zero when it appears and one when it disappears. It is not a time in seconds. Add keys, the points on the graph, and enter their horizontal Time and vertical Value. Start with Linear interpolation, which connects keys with straight lines. RGB controls color; Alpha, or A, controls how strongly the particle is visible. Set these separately.

Make flying rocks and dust that lingers after contact with the floor.
Make flying rocks and dust that lingers after contact with the floor.

1. Prepare a rock mesh and opaque material

  1. Add a Blender icosphere with subdivision one and radius 0.5 m. Move a few vertices slightly and use flat shading.
    Use surface lighting to inspect the mesh facets
    Use surface lighting to inspect the mesh facets
  2. Export an applied-transform copy as FBX and import SM_RockLow. Verify a roughly 100-cm diameter and centered pivot.
    Use surface lighting to inspect the mesh facets
    Use surface lighting to inspect the mesh facets
  3. Use M_Rock with Surface/Opaque/Default Lit, gray-brown color, Metallic zero, Roughness 0.9 and Niagara mesh usage. Assign it to the mesh.
    Use surface lighting to inspect the mesh facets
    Use surface lighting to inspect the mesh facets
Use opaque material shading so lighting reveals the mesh faces.
Use opaque material shading so lighting reveals the mesh faces.

2. Assemble Rocks

SettingValuePurpose / check
Level / NS_Earth Location(0,0,20) cmClear the initial rock radius above ground.
Emitter Properties / Local SpaceOffOff: use Level/world coordinates; moving the Actor does not carry already-emitted particles with it.
Spawn Burst Instantaneous / Time; Count0 s; 8Emit 8 particles together 0 seconds after the effect starts. Disable continuous Spawn Rate.
Initialize Particle / Lifetime; Mass1.3 s; 1A short eruption.
Initialize Particle / Mesh ScaleRandom Uniform 0.15–0.25About 15–25 cm from the imported scale.
Shape Location / Ring-Disk Radius15 cmAn XY birth area at zero Z offset.
Add Velocity / LinearRandom: (-160,-160,300)–(160,160,400) cm/sLaunch before falling.
Gravity Force(0,0,-980) cm/s²Apply in update.
Mesh Renderer / Mesh; FacingSM_RockLow; DefaultRemove the sprite renderer.

Order update Particle State → Gravity → Collision → Solve Forces and Velocity → Scale Mesh Size. Keep collision immediately before the solver.

Particle Spawn sets the initial state. Particle Update changes movement, size and visibility. Each group runs from top to bottom.
Particle Spawn sets the initial state. Particle Update changes movement, size and visibility. Each group runs from top to bottom.
Separate rock collision from delayed dust
Separate rock collision from delayed dust

3. Hit the floor with CPU collision

Select Rocks. Emit eight particles together and draw SM_RockLow on each. Add upward velocity and downward gravity.

  1. Select the floor made during preparation. In Details, set Collision Enabled to Query and Physics and Collision Presets to BlockAll. This makes the floor respond to collision checks. Reuse this floor instead of adding a second one in the same place.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  2. Check Rocks → Emitter Properties → Sim Target is CPUSim. Add Collision in Particle Update and use the CPU Scene Query, which checks for objects in the Level. Check that the floor blocks the Trace Channel selected by Collision.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  3. Under Bounce, start Restitution, the bounce strength, at 0.1 and Friction, contact resistance, at 0.6. Check that rocks stop passing through the floor and bounce only slightly. If they float or sink, compare the Collision radius and mesh size one at a time.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  4. Opaque rocks do not become transparent when alpha decreases. Add Scale Mesh Size with a uniform Float from Curve using Particles.NormalizedAge. Set keys (0,1), (0.8,1), (1,0). This shrinks each rock only near the end of its lifetime.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust

CPU particle collision supplies visual contact; separate it from damage logic and rigid-body stacking.

4. Delay Dust by 0.08 seconds

  1. Paint three or four overlapping soft white discs on black in a 512-pixel image, leaving 32-pixel margins. Import the PNG as Masks, sRGB off, Clamp.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  2. Create translucent unlit M_Dust: mask R×particle A×Opacity into opacity, Tint RGB×particle RGB×Intensity into emissive. Enable sprite usage and use gray-brown MI_Dust at opacity 0.25.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  3. Add another Simple Sprite Burst as Dust: Self/Once/two seconds/Complete, world space, burst sixteen at 0.08 s, no rate.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  4. Use life 1.2–1.6 s, white/alpha one, size 40–70 cm and sphere radius 20 cm. Add velocity (-5,-5,15) to (5,5,35) cm/s with no gravity or collision.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  5. Use Particle State → Solve → Scale Sprite Size → Scale Color. Grow normalized size from 0.4 to 1.5 and use alpha (0,0), (0.15,0.5), (1,0), RGB scale one.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
Rocks fly up, fall under gravity and hit the floor. Dust expands and fades.
Rocks fly up, fall under gravity and hit the floor. Dust expands and fades.

Separate collision from lifetime death

Use a bounce response and disable any kill-on-contact setting for this baseline. Restitution controls rebound and friction contact behavior; these are not a direct mapping of Unity Dampen.

Keep translucent dust material separate from rocks. Original 100-cm size times scale 0.15–0.25 gives about 15–25 cm. Collision radius only approximates irregular geometry.

First playback, restarting and saving

Disable Dust and test rock contact in the level. The Niagara preview floor need not have the same collision as the placed cube. Confirm level contact before restoring Dust and restarting.

To test again, stop Preview and move the Timeline playback position back to the start. Choose which emitters are enabled, then play. Enabling another emitter halfway through can give it a different start time, so restart when comparing parts.

Compile the System to check its processing graph, fix any errors, then save it. Apply and save the Material too. Test the placed effect in the Level and save the Level. Changes to a placed effect’s Component during Level Play can be temporary; make lasting adjustments in the Niagara System asset.

Troubleshoot one variable at a time

SymptomFirst checkComparison
Rocks pass through floorCPU, blocking and orderCheck CPU mode, floor query/channel and Collision→Solve.
Only dust is readableDust coverageHide Dust to inspect rocks, then restore with lower opacity.
Collision begins at birthSpawn height and radiusCompare center Z=20 against radius and change one at a time.

Completion checks

  1. Angular rocks and falling read without dust.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  2. Rocks do not keep bouncing high.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  3. Thin dust outlasts rocks and eventually disappears.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust
  4. Profile mesh cost, CPU collision and transparent overdraw separately.
    Separate rock collision from delayed dust
    Separate rock collision from delayed dust

Compare the Unity version and continue

Both separate mesh chunks and dust. Niagara additionally requires correct gravity/collision/solver order; restitution and friction are not simple substitutes for differently named Unity controls.

Compare with the Unity workflow while checking axes, units and execution order. Continue with another Niagara element.

References