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."
|