Creating fluid simulations
As we said, the best way to learn how to create particle systems is to keep looking for already-created particle systems and explore how people have used the various system settings to create completely different simulations.
In this section, we will learn how to create the following effects using particle systems:
- A waterfall effect
- A bonfire effect
Let’s start with the simplest one, the waterfall effect.
Creating a waterfall effect
In order to do this, follow these steps:
- Create a new particle system (GameObject | Effects | Particle System).
- Set Shape to Edge and its Radius to
5
in the Shape module. This will make the particles spawn along a line of emission:
Figure 11.22: Edge shape
- Set the Rate over Lifetime of the Emission module to
50
. - Set the Start Size of the Main module to
3
and the Start Lifetime to3
:
Figure 11.23: Main module settings
...