
Download – https://www.patreon.com/posts/67758120
Twitter – https://twitter.com/cghow_
Fluid Trails in UE5 Niagara Tutorial | Download Files
Fluid Trails VFX in UE5 Niagara
This tutorial shows how to create flowing fluid trails with particles that follow each other using the particle attribute reader in Unreal Engine 5 Niagara, and the project files are available to download.
Use it for magic streams, water spells and energy flows, and see the related posts below for more trail effects.
More trail effects: Particle Attribute Reader · Flower Trail · Anime Sword Trail
More like this: Ribbon Trails in UE4 Niagara Tutorial
Prerequisite: Before watching this, make sure you watch my previous tutorial on the Particle Attribute Scratchpad, where I demonstrate how to make particles follow each other using the scratchpad. Understanding that will make this tutorial much clearer.
Creating the Fluid Effect:
- Setting Up the Folder and Plugin:
- First, create a new folder called
Test. - Go to
Pluginsand enable the Fluids plugin. Restart the engine to make sure it’s activated.
- First, create a new folder called
- Creating a Niagara Particle System:
- Right-click in the Content Browser and create a new Niagara Particle System.
- From the Fluid section, select the Grid 3D Gas Simple Particle Source template, and name it
Test.
- Configuring the Grid:
- Inside the Niagara System, you’ll see a fluid container and grid emitter.
- To adjust the grid size, find the User Parameter and change it to
600. - You can also hide the box if you want to clean up the view.
- Creating the Particle Emitter:
- Create a new emitter and choose the Fountain template as the source.
- Set the loop behavior to Once and spawn just 3 particles (you can increase this number later for more trails).
- Set the lifetime to Infinite and adjust the size to 10.
- Turn off gravity and unnecessary shape/velocity settings.
- Rotating Particles:
- Add the Rotate Around Point module. Set the radius to 100 or 200, and the rotation rate to
1. - To separate the particles, connect the Rotation Phase to the execution index.
- To adjust the rotation speed, set the value to
0.2.
- Add the Rotate Around Point module. Set the radius to 100 or 200, and the rotation rate to
- Adding Multiple Particles:
- Instead of a single particle, we want multiple particles following each one. To achieve this, use the Scratchpad Particle Attribute Reader (covered in my previous tutorial) to create groups of particles that follow the source particle.
- Creating the Source and Follower:
- Duplicate the emitter, renaming it to
Follower. - Set the particle count to 100 and change the color to green (for the follower particles).
- Use the Random ID to assign different particle IDs.
- Duplicate the emitter, renaming it to
- Tracking and Following Particles:
- In the Particle Update, create a custom ID and calculate a random integer for each particle.
- Use the Vector by ID module to track the red particles’ position (source particles) and offset their positions randomly (to spread them out).
- Spawning Fluid from Follower Particles:
- In the Fluid Source, replace the original emitter with the
Followeremitter. - Make sure both emitters are GPU-based for better performance.
- In the Fluid Source, replace the original emitter with the
- Fine-Tuning Fluid Parameters:
- Set the Density Dissipation to 10 and adjust the Temperature in the renderer to control the heat effect.
- Apply some turbulence by lowering the frequency to
0.02and increasing the Density Grain to 10000 for a more dynamic effect.
- Adding Particle Trails:
- For more visible trails, copy the source emitter and rename it to
Trail. - Set the particle life to Infinite, and adjust the size and spawn rate to your liking.
- Use the Shape Location module to control the spread of the particles.
- For more visible trails, copy the source emitter and rename it to
- Finalizing the Look:
- In the Renderer, adjust the Density and Temperature Range to refine the look of the trails.
- Use the Dissipation to control how fast the trails fade out.
Final Settings:
- My final settings for the trail include a Density of 50, Temperature of 200, and Dissipation values of
12and10for the fluid and temperature. - The trails are set to 0.5 for the grain and density.
Frequently asked questions
What Unreal Engine plugin is required for this fluid trails tutorial?
You need to enable the Fluids plugin in Plugins and restart Unreal Engine 5 before creating the Niagara Particle System with the Grid 3D Gas Simple Particle Source template.
How do follower particles track the source particles in UE5 Niagara?
The Follower emitter uses the Scratchpad Particle Attribute Reader and the Vector by ID module in Particle Update to read source particle positions via a custom random ID and spread out around them.
Where can I download the Fluid Trails UE5 Niagara project files?
The project files for this tutorial are available to download via Patreon at https://www.patreon.com/posts/67758120.


Leave a Reply