Lightning chain effect in Unity


Hey guys! I try to find some tutorials for lightning chain effect and found nothing. How to do this stuff? Like lightning hit on 1 target and send lightning to another targets. I would be very grateful for any information.



In unreal i would build an effect and maybe a chaining variant of it and in a blueprint i would check if the specific intersecting object types intersect (Like a collision sphere intersecting with a specific actor) and then get their location and spawn a chaining particle effect with a new source (the collision center) and the targets location.

It all depends tho im sure there are other ways of doing this too.
Hope it helps a tiny bit, Im not sure how to do this in unity but im sure there are similar ways with tutorials for each piece of the steps i gave above.