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: Fire Direction?  (Read 4962 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Fire Direction?
« Reply #15 on: 21 Jun 2007, 02:54:28 »
Code: [Select]
myPhallicObject setVectorUp [(sin theta)*(sin heading), (sin theta)*(cos heading), cos theta]Where theta is the angle from the vertical and heading is whatever you setDired the missile to. Of course you could replace heading with (getDir myPhallicObject)

« Last Edit: 21 Jun 2007, 02:57:48 by Mr.Peanut »
urp!