Compare all eight elements / Unity version of this element
What you will build
Build Spike, an ice spike that grows from the floor, followed by Shards, the flying fragments. Keep the spike’s base still and change only its height. The fragments use a separate emitter, so they keep moving when the spike shrinks. Start with opaque pale-cyan shading so the shape and timing are easy to see.
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.
- 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/Ice folder. If Niagara is missing, open Edit → Plugins and check that Niagara is enabled.
Keep the practice scene and its assets together - 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 - 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_Ice. 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 - Drag NS_Ice 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_Ice to open it, rename the first emitter Spike (the ice spike), and set Emitter Properties → Sim Target to CPUSim so the CPU calculates its particles.
Inspect the parent and child roles separately - 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
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.
1. Model a spike with a base pivot
- In Blender, add a Cone. Set Vertices to four, Radius 1 to 0.15 m, Radius 2 to zero and Depth to one meter. Enter Edit Mode, select all vertices and move them 0.5 m along Z. The base is now at Z=0 and the tip at Z=1 m, while the object origin remains at the base.
Grow from a fixed origin at the base - Return to Object Mode and use Shade Flat so each face has a clear lighting change. Keep the original model and make an export copy. Apply Rotation and Scale on the copy, then export only the selected mesh as FBX. Import it into Unreal as a Static Mesh, a 3D shape without a skeleton, rather than a Skeletal Mesh.
Grow from a fixed origin at the base - Open the imported shape in the Static Mesh Editor. Check that its Z height is about 100 cm and its origin is at the base. If it is only one centimeter tall, check FBX units and Convert Scene Unit in the import options. Correct the imported asset’s size before compensating with a 100× Niagara scale.
Grow from a fixed origin at the base - Save it as SM_IceSpike. Place it in the Level beside the standard cube to compare size. Check that the tip points along +Z, upward.
Grow from a fixed origin at the base
2. Use an opaque material that reveals facets
- Create M_Ice, a Material defining the mesh’s color and reflections. Choose Surface domain, Opaque blending so the shape is solid, and Default Lit shading so scene lights reveal its faces. Start with pale-cyan Base Color, Metallic zero and Roughness 0.35. Roughness controls how dull the surface looks.
Use surface lighting to inspect the mesh facets - Enable Used with Niagara Mesh Particles, then Apply and Save. Assign M_Ice to the spike’s Material Slot, the mesh input for its surface material. Use the Level’s Directional Light to check that neighboring faces have different brightness.
Use surface lighting to inspect the mesh facets
This stage uses stylized opaque ice. Refraction and internal scattering are later extensions after silhouette and timing work.
3. Assemble Spike
Select Spike. Draw SM_IceSpike on one particle and change its height with a curve in the next step. Stretch the shape upward while its base stays on the floor, rather than moving the entire mesh upward.
| Setting | Value | Purpose / check |
|---|---|---|
| Level / NS_Ice Location | (0,0,0) cm | Place the base pivot at the floor. |
| Emitter Properties / Local Space | On | On: measure positions relative to the effect’s center; moving the Actor also moves existing particles. |
| Spawn Burst Instantaneous / Time; Count | 0 s; 1 | Emit 1 particles together 0 seconds after the effect starts. Disable continuous Spawn Rate. |
| Initialize Particle / Lifetime; Color | 0.85 s; White A=1 | A single sequence. |
| Initialize Particle / Mesh Scale | Direct Set (1,1,1) | Preserve the imported 100-cm height. |
| Initialize Particle / Position Offset | (0,0,0) | Grow above the ground. |
| Mesh Renderer / Mesh; Facing Mode | SM_IceSpike; Default | Remove the sprite renderer. |
Omit velocity, gravity and shape modules and retain Particle State. Use default mesh orientation rather than velocity-facing geometry.
4. Grow only the Z dimension
Add Scale Mesh Size in update with Vector from Curve indexed by Particles.NormalizedAge. Keep X/Y curves at one and use the following Z curve.
| Setting | Value | Purpose / check |
|---|---|---|
| NormalizedAge; Z factor | 0; 0.01 | Nearly flat at birth. |
| NormalizedAge; Z factor | 0.235294; 1 | 0.20 seconds after birth. |
| NormalizedAge; Z factor | 0.764706; 1 | Hold through 0.65 seconds. |
| NormalizedAge; Z factor | 1; 0.01 | Shrink at 0.85 seconds, then expire. |
Start with linear key interpolation. Curve age is Age/Lifetime, so 0.20/0.85≈0.235294. A base pivot stays stationary while Z scale changes.
5. Emit Shards at 0.65 seconds
- Add Simple Sprite Burst as Shards. Use Self/Once/two seconds/Complete, world space, no Spawn Rate and a ten-particle burst at 0.65 s.
Grow from a fixed origin at the base - Initialize lifetime 0.6 s, white color/alpha one and random uniform mesh scale 0.08–0.15. Replace the sprite renderer with a mesh renderer using SM_IceSpike and M_Ice.
Grow from a fixed origin at the base - Use a sphere Shape Location of radius 15 cm centered at offset (0,0,70). Start linear random-range velocity at (-100,-100,60) to (100,100,160) cm/s.
Grow from a fixed origin at the base - Use Particle State → Gravity (0,0,-980) → Solve Forces and Velocity. Finish with uniform mesh size keys (0,1), (0.7,1), (1,0) to shrink the shards at death.
Grow from a fixed origin at the base
Spike size changes affect only its own particles. The independent shard emitter keeps fragments separate from the main shrink.
Recalculate times and scale factors
Z factor one gives the original 100-cm mesh height; 0.01 is about one centimeter. Divide 0.20 and 0.65 by lifetime 0.85 for curve indices, and recalculate after a lifetime change.
Use mesh scaling to remove opaque geometry. Give Shards its own size curve rather than leaving the main spike’s Z-only curve copied.
First playback, restarting and saving
Disable Shards and inspect the fixed spike base and 0.20–0.65-second hold. Restore Shards and restart. Verify the original 100-cm mesh before compensating with scale.
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
| Symptom | First check | Comparison |
|---|---|---|
| Growth expands both ways | Mesh base and pivot | Check the Edit Mode mesh offset before moving particles. |
| Growth widens too | Mesh scale curves | Keep X/Y at one and animate Z only. |
| Shards appear immediately | Burst time | Set Shards spawn time to 0.65 and restart preview. |
Completion checks
- The base stays fixed and growth completes at 0.20 s.
Grow from a fixed origin at the base - The angular pose holds from 0.20 to 0.65 s.
Grow from a fixed origin at the base - Independent shards appear at 0.65 s and fall.
Grow from a fixed origin at the base - Facets and the held pose read even in gray.
Grow from a fixed origin at the base
Compare the Unity version and continue
Unity animates Y scale in seconds; this Niagara recipe changes mesh-particle Z scale by normalized age. Both depend on a base pivot.
Compare with the Unity workflow while checking axes, units and execution order. Continue with another Niagara element.