I use ParticleSystem component as my guns bullets. I want to check if particle hit the enemy. OnParticleCollision () doesn’t work. I don’t use Particle Emitter, World Particle Collider etc. I only use Particle System which has something like “Collision”, but it is not work like that. What should I do?
In Particular System,
-
Select the Collision option and select the “Send Collision Messages” option in editor.
OR
have to add the “World Particle Collider” component. -
And Enemy should have a Collider.
-
And Bullet should have a script with method “OnParticleCollision” you can do your action like die.