Game Development Community

Water disappearing bug + fix - 1.4.2

by Skylar Kelty · in Torque Game Engine · 09/15/2006 (10:10 am) · 2 replies

Terrain/waterblock.cc

// MDF: why?
//if(!mRemoveWetEdges)
//{
// setGlobalBounds();
//}

change to

if(!mRemoveWetEdges)
{
setGlobalBounds();
}

Otherwise, water disappears at certain positions

#1
09/15/2006 (10:15 am)
I think that was the fix for being able to move waterblocks. If its also causing display problems, a better solution will need to be found.
#2
09/15/2006 (10:39 am)
Yeah, it was to move water blocks and it worked but there are rendering issues
Probably just needs a check for if the editors are open or not.
Or you could comment it for dev and then uncomment it for release