Still have questions? Join our Discord server and get real time help.
Log in to vote

Restricting particle emitters for parts that are not yet generated?

Asked by 2 months ago

I would like to restrict particle emitters from showing on parts that are not yet generated in my game. (ie; parts that have not yet been introduced to gameplay yet) I am working on a Tycoon style of game.

As of now, I have random emitters showing up all over my map. I understand the concept behind ParticleEmitter:Clear - But it's the implementation of this scripting process that has me a little confused.

My process thus far has been to add an attachment to a part and then add an emitter to that attachment. when I playtest, I see my emitters all over the terrain despite the parts not yet being visible.

Not visible as in parts are not yet created, not simply out of the view of the scene.

Thanks in advance.

Answer this question