Particle System Help.

Hello,

I’m trying to play a particle system effect when i disable my obstacles.
However i can’t find a way to let my effect know where is my obstacle positions. And i cant attach the particle system as a child of the obstacle because when i disable the obstacle the particle will also get disabled. Is there any way to fix this issue?
I want a particle effect to play when i disable my obstacle and after that disable the particle system.

I’f my question is still not clear please inform me.

Thank you

The best way to do this is to create a gameobject (reset its position) and attach your particle system to the gameobject and save it a a prefab (once you have saved the prefab you can delete the gameobject in the hierarchy).

Now to play the particle effect you just instantiate the prefab and set the position of the instantiated object to the position of the current object.

Once that is done you can destroy the current object.