Game Development Community

Waterblock Density and Viscosity_BUG

by Caylo Gypsyblood · in Torque Game Engine Advanced · 01/25/2009 (5:36 pm) · 6 replies

Im in the process of recreating my TGE1.5 missions in TGEA1.8, and hit a problem. I use Waterblock Density and Viscosity in 8 of my missions to simulate slippery ICE and the Waterblock Density and Viscosity datafields are no longer part of the waterblock.

Is there some other way now to accomplish Waterblock Density and Viscosity now?

#1
01/25/2009 (6:24 pm)
I put all the appropriate code back into waterBlock.cpp/.h but Waterblock Density and Viscosity still have no effect.
#2
01/25/2009 (7:59 pm)
Ok got it working. Here are all files needed. Seek //!@! for locations of FIX.
#3
01/26/2009 (4:25 am)
Have these variables existed in any form in any TGEA version? I've been working with boyance and vertex-animated waves for a client since 1.03, and I can't recall ever seeing these.

In any case, good job!
#4
01/26/2009 (4:54 am)
Do you have vertex-animated waves? Another feature i was sad to see missing.
#5
01/26/2009 (5:27 am)
It's a little bit more game-specific, though. Not everyone needs it. :)

Yeah but animation is done on the GPU, and I haven't yet ported it to GLSL. So it doesn't exactly fit with TGEA 1.8.
#6
01/26/2009 (2:12 pm)
It might be a feature not everybody needs. But it IS a feature they should have for backward port from TGE games.

By changing Waterblock Density and Viscosity, and setting the 'waves' higher one can 'push' the player around with the wave effects.