Version: 4.26, 中文
Created: 2021-02-09, Updated: 2021-03-25
Author: Cyanhall
👉  Cyanhall@GitHub Star me if it’s helpful.
1. Preparation This is the effect we are going to make in this tutorial.

Note: The main content of this tutorial comes from the Content Examples that come with Unreal Engine

Tip: Use ⬆️ ⬇️ to turn the page up and down. We recommend browsing with a large screen for a better reading experience.
Preparation
3. Introduction Transient variables are local only to a given stack context (Particle Update, for example) and are recalculated from scratch every frame, they do not persisit their value from frame to frame.

This makes them different from Particle.variables which are saved in the particle payload and persist from frame to frame, which comes at a memory and performance cost.
Introduction
4. Goal Here we make a transient variable representing the current distance from the emitter origin, and use that to drive a color and scale curve.
Goal
5. Let's start the reconstruction Right click and select FX => Niagara System to create.
Let's start the reconstruction
6. Create Niagara System Select Empty template, click + and Finish
Create Niagara System
7. Create Niagara System As a result, we get a Niagara System asset, click to open it.
Create Niagara System
8. Empty Niagara System You can see that we have an empty Niagara system.
Empty Niagara System
9. Spawn Rate Click on the + sign to the right of the Emitter Update to add the Spawn Rate module.

Spawn Rate: Number of particles per second to spawn.
Spawn Rate
10. Spawn Rate Set the Spawn Rate value to 8.0.

Spawn 8.0 particle per second.
Spawn Rate
11. Spawn Burst Instantaneous Click on the + sign to the right of the Emitter Update to add the Spawn Burst Instantaneous module
Spawn Burst Instantaneous
12. Spawn Burst Instantaneous Set the value type of Spawn Count to Random Range Int
Spawn Burst Instantaneous
13. Spawn Burst Instantaneous 1. Set the Minimum value to 3
2. set the Maximum value to 10
3. set the Elevation Type to Every Frame
Spawn Burst Instantaneous
14. Initialize Particles Select Initialize Particles and set:

1. Lifetime to 8.0
2. Color Mode to Direct Set
3. Sprite Size Mode to Uniform and its value to 5.0
Initialize Particles
15. Add Velocity from Point Add Add Velocity from Point module to the Particle Spawn section.
Add Velocity from Point
16. Add Velocity from Point Click the first Fix issue button to add its dependency on the SolveForcesAndVelocity module.
Add Velocity from Point
17. Add Velocity from Point Set the value type of Velocity Strength to Random Range Float
Add Velocity from Point
18. Add Velocity from Point Set the minimum value to 10.0 and the maximum value to 85.0.
Add Velocity from Point
19. Point Attraction Force Add Point Attraction Force module to the Particle Update section.
Point Attraction Force
20. Add Velocity from Point 1. Click the first Fix issue button to fix the SolveForcesAndVelocity module's dependency order issue.
2. Set the value of Attraction Strength to 1.8.
3. Set Attraction Radius to 256.0.
Add Velocity from Point
21. NormalizedDistanceFromCenter Add a Float variable to the Stage Transients module
NormalizedDistanceFromCenter
22. NormalizedDistanceFromCenter Name this newly created variable: NormalizedDistanceFromCenter
NormalizedDistanceFromCenter
23. NormalizedDistanceFromCenter Drag and drop NormalizedDistanceFromCenter to Particles Update.
NormalizedDistanceFromCenter
24. NormalizedDistanceFromCenter Set the value type of NormalizedDistanceFromCenter to Normalize Distance Range
NormalizedDistanceFromCenter
25. NormalizedDistanceFromCenter Set Start Position to Particles.Position
NormalizedDistanceFromCenter
26. NormalizedDistanceFromCenter Set End Position to Simulation Position
NormalizedDistanceFromCenter
27. NormalizedDistanceFromCenter Set Distance to 145.0
NormalizedDistanceFromCenter
28. Color Add Color module to the Particle Update section.
Color
29. Color Set the value type of Color to Lerp Linear Color
Color
30. Color 1. Set the StartColor to (3, 0, 0, 1) and the EndColor to (0, 0, 2, 1).
2. Set the LerpFactor to NormalizedDistanceFromCenter
Color
31. Scale Sprite Size Add the Scale Sprite Size module to the Particles Update section.
Scale Sprite Size
32. Scale Sprite Size Edit the Scale Factor's value to Vector 2DFrom Float.
Scale Sprite Size
33. Scale Sprite Size Set the value type of Value to Lerp Float
Scale Sprite Size
34. Scale Sprite Size 1. Set A to 0.5, B to 2.75
2. Set Alpha to NormalizedDistanceFromCenter
Scale Sprite Size
35. 🎉 Finish! 🎉 👉  Cyanhall@GitHub  Star me if it’s helpful.

Support Me: Patreon
Follow Me: Twitter, Reddit, Zhihu, Bilibili
🎉 Finish! 🎉
Comments
Preparation