Game Development Community

River Current Effect

by Netwyrm · in Torque 3D Professional · 02/11/2014 (11:17 am) · 4 replies

I seem to remember when the river editor was first added to the toolset that the player puppet would be dragged along in the direction of flow.

I think this was lost in the T3D 1 beta series at some point, and then I forgot about it.

I can't seem to figure out what's different, though, and would like to have the current back. I've tried changing the value of flowMagnitude from the default 1 in a range from 0.5-150, but there seems to be no effect.

Can anyone explain what makes this feature work? I'm in T3D 1.1.

About the author

My adventures in T3D are chronicled at http://www.worldofantra.com. Please be aware the subject is sword-and-sorcery, and the occasional bloody or bare body part may be in scope.


#1
02/15/2014 (8:30 pm)
Same question here. I was just setting up a river, and there doesn't seem to be any flow, or any way to set up the flow. Does it still work and if so, how do you enable/adjust it?
#2
02/16/2014 (3:06 pm)
The river effect is there, but it only works with physics bodies at the moment (and I am guessing rigid bodies should work as well).
#3
02/17/2014 (1:21 pm)
Ah ok. I was under the assumption that it would affect players as well. Disappointing that it does not. Anyone have an idea what it would take to make it work for players?

#4
02/17/2014 (3:29 pm)
Well, getting the engine to interpret the player as a rigid shape might be a first step. Simple things like adding class="rigidshape" to the player datablock do not seem to do it (yes, I do have a very poor conceptual understanding of how it all works!)

The thing that bugs me is I'm almost certain someone posted a very simple, one-line fix for this some time back that I had noted, but in days of searching and looking through my bookmarks I have not been able to turn it up.

I will keep looking and some part will keep processing away at it--like so many other things involving the engine I just file it away after a day or two of unsuccess and keep moving forward by working at something else until I can address it--river riding is not mandated by the design documents; it's just something I remembered after I added a rushing river to a level and thought, "gee, if you fell in it would be a fun way to eliminate some walking".