Game Development Community

WaterBlock madness

by John Klima · in Torque Game Engine · 06/14/2005 (11:54 pm) · 3 replies

Hey all,

i'm having a hell of a time with waterblocks. it is more or less impossible for me to position a waterblock. it seems to have a mind of it's own. hopefully someone can explain this behavior.

i'm trying to make a shallow river. i have a terrain from a bitmap, it's min height prop is 50, range is 10, with basically two heights - the terrain level, and the "shallow" river level (its actually about 10 meters deep, hardly shallow). i have a waterblock which if i place just barely above the terrain surface, it appears just fine (but of course floods my land). if i move it just below the ground, but still well above the bottom of my river, the waterblock disappears all together.

also, it seems the two water surfaces "separate" from each other at times (i have two different water bitmaps in the first two entries of the "media" section in the inspector).

also, the text in the inspector box for the transform is not even close to what the popup text near the grab cursor reports when i first try to move the water. oddly, the hand cursor popup reports a Z value well below what is indicated in the inspector, even when i'm not changing the Z

also it often inserts scaling and translation values of it's own choosing after i try to adjust them manually.

totally confused!
thanks!
j

#1
06/27/2005 (11:50 pm)
This is exactly the same problem I'm having that I was hoping someone had a solution to.

Thanks if anyone has anything on this. If not, time to dig into the code.
#2
02/13/2007 (12:07 pm)
This may help.
if you make a flat land surface with "set height" and then add water it seems to disappear at anything less then the land (like 99.2 or something). try changing the "set height" value to 150 or something more then the default 100.

EDIT-->TERRAIN EDITOR SETTINGS-->SET HEIGHT

i hope that helps.
#3
02/15/2007 (4:54 am)
I used to have this problem but it seems TGE1.5 puts it right where the camera is looking. What I used to do is place an object in the world close to where I wanted the water block, create water block, copy paste the cords from the object I placed to the water block and then just delete the object. Made it a whole lot easier to find that tiny waterblock (when you first put it in) in a big ole terrain.