2 registered members (alibaba, vicknick),
1,492
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Tornado
#29965
07/06/04 22:35
07/06/04 22:35
|
Joined: Aug 2003
Posts: 828
agreenknight
OP
Developer
|
OP
Developer
Joined: Aug 2003
Posts: 828
|
Quote:
var d_direction_min[3] = -1,0,0; // currently set to Wvar d_direction_max[3] = -1,0,0; // currently set to W /* DIRECTIONS ARE INTO THE CARDINAL DIRECTION(i.e. north wind is blowing towards north) 0, 1, 0 north 0,-1, 0 south -1, 0, 0 west 1, 0, 0 east */
I was wondering if there would be a way to get a force to go go in a circular direction. I was wondering if there would be a way to decrease the force. So that the force would start out like o, 10, 0 north, then 0, 9, 0, north, then 0, 8, 0 forth.
Would there be the force in a circular direction?
Keep It Simple, Make It Fun
|
|
|
Re: Tornado
[Re: agreenknight]
#29966
07/07/04 03:14
07/07/04 03:14
|
Joined: Aug 2000
Posts: 7,490
Orange Brat
Senior Expert
|
Senior Expert
Joined: Aug 2000
Posts: 7,490
|
Quote:
So that the force would start out like o, 10, 0 north, then 0, 9, 0, north, then 0, 8, 0 forth.
The values have to be either 0, 1, or -1. The number has nothing to do with the amount of force, but with the direction the wind will go.
-1, 0, 0 is west
1, 0, 0 is east
0, 1, 0 is north
0, -1, 0 is south
Southwest would be -1, -1, 0
The part that controls the force is this:
Code:
var w_speed_factor = 1; // multiplies w_speed_max when hurricane is used...higher = faster speed....dependent on w_speed_max....range: 1-infinity
My User Contributions master list - my initial post links are down but scroll down page to find list to active links
|
|
|
Re: Tornado
[Re: Orange Brat]
#29967
07/07/04 04:08
07/07/04 04:08
|
Joined: Aug 2003
Posts: 828
agreenknight
OP
Developer
|
OP
Developer
Joined: Aug 2003
Posts: 828
|
Yes, I know that but Thank you.
What I'm wondering is if the force could go around in a circle, instead of a straight line by telling it the path you want it to take. Then when it goes around once it goes down, and makes another revolution,
Keep It Simple, Make It Fun
|
|
|
|