I am creating a lightning attack but I wanted to create a realistic looking lightning bolt instead of a cube stretching in a straight line.
What equation can I use to achieve this? Any examples are welcome :) Thanks in advance.
Edit: I've found a great video on youtube that helped me achieve this. Here's the link to the video!