Home   Help Search Login Register  

Author Topic: Line of sight  (Read 4080 times)

0 Members and 2 Guests are viewing this topic.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Line of sight
« Reply #15 on: 08 Jun 2007, 02:03:06 »
No and yes,
you may assign a script to be executed every few fractions of second that gets in _this the current position of the particle, using this position you may try to detect nearby houses. But you may do the same creating a rect line "calculated" from the placement of your lightsource, if getPosASL fails when executed over a tower or a building, just add a parameter to your script for altitude correction, that should be just the height of the tower.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Line of sight
« Reply #16 on: 08 Jun 2007, 15:40:43 »
I tried adapting the LOS function from my binotarget and could not get it to register a building, which is why I thought we were stuck with boundingBox. Do particles with a velocity pass right though buildings, vehicles & walls, or do they self destruct?
« Last Edit: 08 Jun 2007, 15:53:55 by Mr.Peanut »
urp!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Line of sight
« Reply #17 on: 08 Jun 2007, 17:56:30 »
Particles pass through everything, even mountains.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Line of sight
« Reply #18 on: 08 Jun 2007, 18:00:35 »
Must be neutrinos.

Edit: Thanks to fasad on the BI forums, I think I have a fix! Woo hoo, can't wait to test it!
« Last Edit: 12 Jun 2007, 18:58:53 by Mr.Peanut »
urp!