How to prevent fire from going out?

I have, in my game, a part that creates a “raining” effect using ParticleEmmiters.

When a fire object is hit by particles, it disappears, even if it has its “enabled” property turned on and is still parented to a part/attachment.
When the particles disappear, the fire returns.
This behavior isn’t documented anywhere, it’s really weird.

Please tell me there is a way to make fire immune to particles…

I’m not an expert in Roblox graphics, but I’m pretty sure this is because Roblox can’t render multiple particles like that at the same time, so it stops rendering one, for the other.

The fire isn’t “going out” it’s just not rending anymore.

I found a very weird way to fix this issue: Constantly changing the value of the ParticleEmitter’s Enabled property at every frame from a script, like this:

RunService.Stepped:Connect(function()
	ParticleEmitter.Enabled = not ParticleEmitter.Enabled
end)

Not sure why it fixes the issue, but it does.

1 Like

Yes, to re-iterate what I previously said,

This probably works because you’re constantly re-rendering the same graphics over and over.

1 Like