- Home /
ParticleSystem leaves a trail when plays
Hi everybody. I'm having this issue with ParticleSystem. I have an object with child particles, that follow a path when it shoots, and get back to the center when it ends. Because that object moves, when I call Play() on particles, it leaves a trail from the last time it played.
https://dl.dropboxusercontent.com/u/108692101/Particles.jpg
I tried using Clear() before Play(), but it didn't work.
Answer by Kumo-Kairo · Mar 09, 2015 at 08:01 AM
You should set it's simulation coordinates to local space, so particles will move with your object rather than staying where they were spawned
I'm using World space, because I want it make a trail effect (ironic if you think about that), and using Trail Renderer didn't look good.
This is the effect:
https://dl.dropboxusercontent.com/u/108692101/with%20effect.jpg
With Local space this wouldn't work.