Tevolo
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 1252 |
|
|
| 25 Apr 2015 12:35 AM |
| So, I need a bit of help making semi-random lightning. I can make almost all of it, besides for randomly rotating the parts. Lets say each part is the following Size, 0.2,0.2,10, is there a formula of some sort to correctly rotate it where the parts are still touching and it looks decent, like they aren't clipping through each other? |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2015 12:38 AM |
I understand what you mean, but I haven't attempted it myself yet. Like this right? /watch?v=cXZWfAFJSho |
|
|
| Report Abuse |
|
|
Tevolo
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 1252 |
|
|
| 25 Apr 2015 12:39 AM |
| That is the basic concept, yes! |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2015 12:44 AM |
| I would shoot a short ray then shoot another ray out of where the first one ends in a different direction. Rinse and repeat until you hit 10-20 rays shot |
|
|
| Report Abuse |
|
|
Tevolo
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 1252 |
|
|
| 27 Apr 2015 12:42 PM |
| I've been looking around, is it something to do with math.rad()? |
|
|
| Report Abuse |
|
|