how to find the surface of the water. -
31-01-2005
well I have an idea that when bot is underwater for too long, just let the bot "pickup" the surface of the water (just like picking up weapons)
But I can't seem to find the surface of the water using tracelines. In Quake2 I can use gi.trace() with MARK_WATER, but HL doesn't seem to have such a function.
So do you have an idea about how to do this ? Thanks.
|