Game Development Community

Water dissapearing problem in HEAD

by Matthew Shapiro · in Torque Game Engine · 06/29/2003 (9:45 pm) · 9 replies

This might not be related to the LAtest head since someone in irc said they've seen this before in earlier heads. I just compiled torque and ran waterworld, flew around a bit out of the torque character and suddenly i found a spot where when you changed the camera angle all the water dissapeared and just fog ws in its place. I could not get this reproduced however, which is why I think it has something with the position you are in, other then that i don't know what else to say but it seems that there is a water bug somewhere out there :-/

--KallDrexx

#1
06/29/2003 (10:48 pm)
Hey Kall, I didn't get a chance to tell you before you signed off. I couldn't replicate it on waterworld like you had said but I was able to get it to happen quite easily driving around in the dune buggy on the New Demo Branch level where you can drive. Not sure if this helps at all (haven't had an opportunity to start digging through any code yet), but it's worth taking note of.
#2
06/30/2003 (2:30 am)
Yep, I've also seen this.
#3
06/30/2003 (6:11 am)
Yep, It's a "bug" introduced by the latest water block fix.. you will have to delete the waterblock and create it from scratch again. Though I still think there's a bug sometimes... just play with the waterblock... also make sure you z scale is big enough to take all the depth of the water you are placing.
#4
06/30/2003 (10:32 am)
Thanks exodus

--KallDrexx
#5
07/15/2003 (8:11 am)
Anyone determined the issue and fix for this?
#6
07/15/2003 (8:22 am)
Personnaly, I don't use the latest waterblock.cc has it was destroying all my levels with water. I tryed redoing the water and playing with z-scale and the problem was always there even. So I use the waterblock.cc just before that one and all is ok. I don't understand that patch :)
#7
07/15/2003 (11:03 am)
The patch does work. At least I managed to get my water working ok.. but there might be an issue with the placement, not sure. What the patch DOES address is that without it (and this was a bug in tribes 2) the water properties don't stay inside the waterblock but apply to the whole map... so you could set the water to have a low density and a damage level, and if you went lower to the waterblock level but in a place where the waterblock isn't there you would still get damaged and start moving slowly.
#8
07/15/2003 (11:56 am)
Xavier,

Oh, ok! That'll be nice then. I remember I had problem once because my cars where floating because of the water level. But when I tried the new patch, and playing with the z-scale, I didn't manage to be able to make my water not disapear from some angles. I will have to try it again sometimes. Thanks much for the info.
#9
07/15/2003 (12:42 pm)
Try deleting it and creating a new one, scale it using square values and make sure the Z height covers all the terrain depth. I have them working perfectly now, but I had to do this in order for them to work. I'm still sure the patch isn't the correct solution though... there's a reason why they did that on Tribes 2 for sure...