Answer the question
In order to leave comments, you need to log in
How to make a flamethrower in Unity2D using Particle System?
I decided to make a flamethrower in my 2D Unity project. I thought it would be easy and beautiful to make the fire itself through the Particle System, but it turned out that it was not so simple (at least for me). I don’t know how much I’ve been scratching my head about how to make it so that it would be possible to track if the particles collide with the enemy. If yes, then damage the enemy. That is, each particle deals, for example, 1 xp damage. And if 10 particles hit, then 10 damage will be dealt. And yes, I clambered all over the Internet and did not find what I need. Tried with both Trigger and Collision (All this in Particle System), nothing works. I hope I phrased my question correctly. Waiting for an answer.
Ps I will attach screenshots of the settings of the fire itself in the flamethrower.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question