You are on page 1of 1

HKUSTx ISDN2300x

Help iimsheung
Digital Design

课程 进度 ⽇期 讨论 Resources 课程⼤纲 Grading Scheme 主讲教师

Course / Topic 4 P Particle System / Practice Lab Assignment P Particle Systems

Previous Next

Practice Lab Assignment 0 Particle Systems


Bookmark this page

Practice Lab Assignment 0 Unity Particle System

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

Download and open the Particle System Starter Project in Unity.


Select FireParticles object in the hierarchy and add a particle system component to it. Here you have to click on
Add Component button on the Inspector panel to the right and type Particle System in it and add it as below.

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.

Changing Number of Particles

There are mainly two ways to change the number of particles of a system.

No. of Particles 8 Particle Life Time x Emission Rate

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.

Increase the value of Start Lifetime to 10 and click Play.

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.

Start Life Time = 5 Start Life Time = 10 Start Life Time = 10


Rate over Time = 10 Rate over Time = 10 Rate over Time = 20
No. of Particles = 50 No. of Particles = 100 No. of Particles = 200

Understanding Other Parameters

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

Looping Continuously generate the particle system

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

Start Size The size of the emitted particle

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.

Changing Emitter Shape

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.

Changing Particle Texture

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.

Next Up: Visual Illusions


Previous
3 min

All Rights Reserved

edX Legal Connect


About Terms of Service & Honor Code Blog
Affiliates Privacy Policy Contact Us
edX for Business Accessibility Policy Help Center
Open edX Trademark Policy Media Kit
Careers Sitemap Donate © 2021 edX Inc. All rights reserved.
News 深圳市恒宇博科技有限公司 粤ICP备
17044299号P2

You might also like