This module allows you to set up sub-emitters. These are additional particle emitters that are created at a particle’s position at certain stages of its lifetime.
Properties
Property
Function
Sub Emitters
Configure a list of sub-emitters and select their trigger condition as well as what properties they inherit from their parent particles.
Details
Many types of particles produce effects at different stages of their lifetimes that can also be implemented using Particle Systems. For example, a bullet might be accompanied by a puff of powder smoke as it leaves the gun barrel, and a fireball might explode on impact. You can use sub-emitters to create effects like these.
Sub-emitters are ordinary Particle System objects created in the Scene or from Prefabs. This means that sub-emitters can have sub-emitters of their own (this type of arrangement can be useful for complex effects like fireworks). However, it is very easy to generate an enormous number of particles using sub-emitters, which can be resource-intensive.
There are three conditions that you can use to trigger a sub-emitter:
Birth: When the particle is created
Collision: When the particle collide with an object
Death: When the particle are destroyed
Note that the Collision and Death events can only use burst emission in the Emission module.
Additionally, you can transfer properties from the parent particle to each newly created particle using the Inherit options. It’s possible to transfer any combination of size, rotation, color and lifetime. To control how velocity is inherited, configure the Inherit Velocity module on the sub-emitter system.
Did you find this page useful? Please give it a rating:
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thanks for helping to make the Unity documentation better!