Greetings Unity Community!
Here is the situation Im working on. Ive built a flamethrower tower for a little tower defense game. Everything is working great so far, acquiring targets, tracking said targets, and only firing when its target is in range. Last little bit to program in is to have the flames apply damage to its target when its hit. My other projectile base turrets just send out a ray, and then if it hits it sends a message to its target applying the appropriate damage to the targets health.
Not sure how to program that for the particle collisions though. Ive got them set to collide, and turned on the “Send Message” checkbox. I just need to figure out how to properly get the particle collisions to send the message to the target to apply damage. Im not sure of the syntax and what not, having only done it with raycast hits before. Any insight would be greatly appreciated.