So what I'm trying to do is rather simple(to most). How would i make randomly generated parts with random, but connecting, rotations. I want this formula to generate parts from source A to Target A no matter the size between them. I was thinking about using ray casting to do this. It most like will to the player's mouse position on the screen from their torso or something like that. How exactly would i go about doing this? Any tips? What methods should i use?
✓ ANSWER ACCEPTED
How would i make a good lightning effect?
1 answer
✓ Accepted answer
Since I hadn't made something like this myself yet, I wanted to give it a try. Made a little module, and commented it so it makes bit more sense.
Here is the module: http://hastebin.com/qozumahewi.lua
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Oh my lord thank you.
I had the right concept in mind but i just couldn't get the math right for going on about it. This is amazing, thanks.
You totally nailed it.