View Single Post
Re: how to find the surface of the water.
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: how to find the surface of the water. - 31-01-2005

Perhaps yes.
I have noticed that some brush entities block TraceLines, even if they shouldn't, such as certain types of glass being opaque for bots. In order to fix that, I found out that you need to clear the FL_WORLDBRUSH flag of the entity after it is spawned.
So if the FL_WORLDBRUSH flag can block a TraceLine, you might want to add it temporarily to your water entity before issuing a trace from the top down. In my opinion this could work.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote