Why reinvent the wheel when there are many libraries out there for this? Some popular examples include Lighting Beams and ElectricArc. Also if you want to make a simple lighting effect you can figure out how the semi-randomized angles of each lighting part should act from this post.
1 Like