Home   Help Search Login Register  

Author Topic: Detect if object/unit is over/in forest?  (Read 3111 times)

0 Members and 1 Guest are viewing this topic.

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:Detect if object/unit is over/in forest?
« Reply #15 on: 24 Jan 2006, 21:25:53 »
I certainly do not mind! I have also observed the phenomenon you are describing.  However, I think in this case there may be another explaination (or it could be a combination of both what you say and another factor).  I have noticed that some models do not have their "origin" at ground level, so the distance from the game logic to the "origin" of the model may be the value I am seeing.  But, I have also observed that repeated runnings of the script on the same object will yeild varrying distance results (up the thousandths decimal place and occasionally even to the hundredths).  This may be due to the phenomenon you are describing.  I am giong to examine the models for trees, bushes and houses to see if the distance value I see is equal to the offset between the ground contact and "origin" in those models.  I will PM you what I find.
« Last Edit: 26 Jan 2006, 00:28:01 by Raptorsaurus »