Water flow?
by Mike "Tango Whiskey" Lawrence · in Torque Game Engine · 09/04/2005 (11:29 pm) · 2 replies
I've hit a brick wall with water flow. I downloaded and installed licensed engine about a week ago, so it's the latest. I've also read the section on water flow in Edward's book.
In the world inspector, I've fiddled with Just about everything and the only thing that seems to have an effect is SurfaceParallax under the Surface section. All this does is affect the speed at which the water undulates left and right and general direction. Bottom line - all the water does is kind of swirl around.
Nothing under the Movement section seems to have any effect at all.
I just want to see straight Jane flow in one direction at some controllable speed. From seeing all the older posts on fluid dynamics, this seems supported but the editor just doesn't seem to really do anything.
Any assistance appreciated.
In the world inspector, I've fiddled with Just about everything and the only thing that seems to have an effect is SurfaceParallax under the Surface section. All this does is affect the speed at which the water undulates left and right and general direction. Bottom line - all the water does is kind of swirl around.
Nothing under the Movement section seems to have any effect at all.
I just want to see straight Jane flow in one direction at some controllable speed. From seeing all the older posts on fluid dynamics, this seems supported but the editor just doesn't seem to really do anything.
Any assistance appreciated.
About the author
#2
09/05/2005 (6:15 pm)
Thanks Vernon. I also discovered that the waterblock is a big "fragile" when it comes to DepthMask. DepthMask must be on for the flow settings to work correctly. However, turning on DepthMask via the GUI can cause problems like the surface textures not being rendered. Shutting down the engine, coming back in, turning DepthMask on and off and other such general hacking seemed to get me where I needed to go.
Torque Owner Vernon Finch
Click on the water block in the World Editor, and select "Fluid" and change the liquid type to "Riverwater", then select the movement options and play with Flow Angle and Flow rate.
If you still have problems I can paste in my data block from my mission if you want (sorry I'm in a rush and got to run)