KLGA
|
  |
| Joined: 19 Apr 2014 |
| Total Posts: 2571 |
|
|
| 05 Oct 2015 07:10 PM |
| I'm creating a tornado and I'm trying to figure out a way to have it move around randomly as a tornado would. Does anybody have any suggestions for what I should do to make it move? |
|
|
| Report Abuse |
|
|
|
| 05 Oct 2015 07:15 PM |
| Well you have to have a pattern. Maybe zig zag? I'm thinking a for loop that changes the y and x axis of the moving mesh(tornado). |
|
|
| Report Abuse |
|
|
KLGA
|
  |
| Joined: 19 Apr 2014 |
| Total Posts: 2571 |
|
|
| 05 Oct 2015 07:16 PM |
| How would I prevent the tornado from just sort of moving back and forth like it's having a seizure? |
|
|
| Report Abuse |
|
|
|
| 05 Oct 2015 07:21 PM |
if statement.
If tornado coordinate reach this point then ect.
Make a square, if it reaches the boarder simply bounce it back. Experiment. |
|
|
| Report Abuse |
|
|
Skriptten
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 244 |
|
|
| 05 Oct 2015 07:52 PM |
| math.Random with patterns? :D |
|
|
| Report Abuse |
|
|