Water push help
by Sinner · in Torque Game Engine · 12/12/2006 (4:28 pm) · 2 replies
Hi can't find anything on this I hope someone can help me?
How do you make water push a player down the river when he jumps in it?
How do you make water push a player down the river when he jumps in it?
#2
good in C++ yet reel new at it so if you figure it out that would be great or if I do I will post it
thanks again.
12/13/2006 (10:48 pm)
Thanks Jacob for the help I will try that and see what I can come up with. I'am not thatgood in C++ yet reel new at it so if you figure it out that would be great or if I do I will post it
thanks again.
Torque 3D Owner Jacob Wood
I haven't tested it out myself, but I think the only way to do it in script is to call a schedule that moves the player in a direction over and over. Pretty hacky but I'm not that well versed in C++ just yet.
The %obj argument is the one you're going to want to use to manipulate the player's position using %obj.getPosition().
I'll see if I can't get it to work for myself and post again with more info for you hopefully.