Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: wind/flag movment direction?  (Read 1025 times)

0 Members and 1 Guest are viewing this topic.

CopyrightPhilly

  • Guest
wind/flag movment direction?
« on: 21 Jun 2005, 06:13:22 »
is it possable to find what direction the flag texture is blowing?

cheers,
Phil

StonedSoldier

  • Guest
Re:wind/flag movment direction?
« Reply #1 on: 21 Jun 2005, 11:05:06 »
ive think i remeber seeing this question crop up on here not long ago,

there are two similar ways to detect wind direction

first idea, in theory parachutes are effected by wind direction so put one high up and compare its position a few moments later, do the appropriate maths and im sure you'll get your wind direction

Another idea is use the drop command to create a particle, particles i believe are more obviously effected by wind, compare its position like a second or two later and apply the same maths to calculate the angle it moved

CopyrightPhilly

  • Guest
Re:wind/flag movment direction?
« Reply #2 on: 22 Jun 2005, 07:56:53 »
thanks StonedSoldier

i used the first one, made a chute then after 5 seconds, worked out the direction from its start to finish

cheers,
Phil