Unity: Make Particles Not Follow Parent

On this page

    Introduction

    I use particle systems all the time in my projects. I usually want to move the particle system around to follow a character in the scene. When I do this, I have a problem. The existing particles follow the parent when I move it. This movement looks unrealistic. It is an easy fix. Switch the simulation space from local space to world space.

    Step-by-step walkthrough

    Here's how you can do it step by step:

    Create a Particle System

    1. To create a Particle System, click GameObject > Effects > Particle System.

    Set the Particle System Simulation Space

    1. Open the Particle System in the Inspector
    2. Click the Particle System header to open the main settings
    3. Click the Simulation Space dropdown
    4. Choose "World."

    You can now rotate and move the particle system in your game. Particles that you already spawned will not follow the parent system. The particle system will continue to spawn new particles. These new particles continue to spawn based on the rotation and position of the system.

    This method allows you to decouple the particles emitted from the parent.

    Try it yourself

    This approach is robust and unlocks a lot of fantastic possibilities in Unity. For example, you can attach a particle system to your player's feet to spawn little dust clouds as your player moves around. Spend a few minutes thinking about other possibilities for this feature. Then, try implementing it in your own game.

    Join our newsletter to get the latest updates
    Sign Up
    Share
    Michael Sacco
    Founder & CEO

    Michael Sacco is the Founder and CEO of OccaSoftware where he specializes in developing game assets for Unity game developers. With a background ranging from startups to American Express, he's been building great products for more than 10 years.

    Tags
    art
    Unity Basics
    vfx