I tried making a game about firefighting but collision code doesn't work


When I enter the game, everything works fine except when I spray the water onto the fire, the fire doesn’t get deleted like it’s supposed to. Can someone please tell me how to fix this?

Hi @james8189111 great question!

Water particles themselves don’t trigger collisions in Delightex Edu. The system only checks collisions for the actual water object, not for each individual particle that sprays out of it. That’s why the fire isn’t being “deleted” when the spray hits it.

To make it work the way you expect, try this setup:

  • Add a small invisible object (like a cube or sphere) at the tip of the water spray.

  • Set this helper object to detect collisions with the fire.

  • When that object touches the fire, run your code to delete or change the fire.

This acts like a “collision detector” at the end of the hose and makes the effect behave as if the water particles are putting out the flames.

Hope this helps!