005practice Lab Assignment - Unity Particle System
005practice Lab Assignment - Unity Particle System
Help iimsheung
Digital Design
Previous Next
Here you are going explore Particle System implementation in Unity. In this assignment, you will be creating a fire
particle emitting torch using Particle Systems in Unity. All the instructions are provided in the manual below. Please
follow the Unity Basics Manual to get familiar with the basic functionalities of Unity.
Notice that please make sure the version of Unity is equal to or larger than v.2018.4.11f1.
Setting Up
Once the particle system is added, you can see emitting particles in as below in both Game view and the Scene
view.
Game View:
Scene View:
In the scene view, you can change certain parameters of the particle system simulation such as Playback Speed
from the panel in the bottom right corner.
There are mainly two ways to change the number of particles of a system.
You can change the Particle Life Time from the Start Life Time parameter in the Particle System.
You can change this by selecting FireParticles object and going to the Inspector panel on the right.
Here you will find the Start Life Time parameter which is set to 5 by default.
Here you will see that the number of Particles is increased to 100 where it was 50 previously by default.
The other method of changing the number of particles is by changing the emission rate.
It can be changed from Rate over time parameter in the Emission pane of the Inspector panel of the Particle System.
Change the value of Rate over Time to 20. Then click play and figure out how the number of particles in the system
changes.
Similarly, you can change the values of other parameters and inspect what changes occur to the particle system. The
following Table indicates a description of some important parameters of a Particle System.
Parameter Description
Start Speed The initial speed of the emitted particle. When the initial speed is increased the particles
will spread further from the starting point.
Speed = 5 Speed = 10
Gravity Modifier Add gravity to the particle system. Gravity reduces the initial velocity of the particles
over time. Useful in simulating fountain-like particle system.
By default, the emitter shape of the particle system is set to a cone shape. But it can be changed from the Shape
parameter in the Shape pane in the Inspector panel in the right. Since here we want to simulate a fire torch, we keep
the emitter shape as the cone.
The torch should emit fire particles. But right now the particles are purple colored and do not look realistic. Hence,
the texture of the particle should be changed. This can be done by changing the Material parameter of the Renderer
pane which is in the Inspector panel of the particle system.
Then play the scene and go to the Game mode to see the final result. Now you should be able to see a fire torch that
looks realistic in the scene. You can experiment with other parameters related to the particle system which are not
addressed in the tutorial.