Game Development Community

Water Block Problem

by Jules · in Torque 3D Professional · 08/01/2009 (11:24 am) · 15 replies

Not sure if this is a bug, but I have a water block which has water going up to a DIF wall, the only problem is the water block does not go past the wall, but the player still thinks he is in water on the other side, when there is none. Any ideas?

Also, when the player is in the water, getting out of it is like being in thick mud, is there a setting I'm missing?

#1
08/08/2009 (7:31 am)
bump
#2
08/08/2009 (8:06 am)
can you post a screenshot of the waterblock, in position, from editor, with the waterblock selected?
#3
08/08/2009 (9:36 am)
sure.. nothing to do with the dif. I moved that out of the way.. as you can see the water block is a fair bit away from the player, yet it appears that he has just entered the water.

www.something2play.com/screenshots/bugs/bug.jpg
#4
08/08/2009 (10:04 am)
I deleted the waterblock and recreated it, seemed to work fine now. Apart from the player getting stuck in the water, bobbing about and cannot move very fast. A code change no doubt on the player.
#5
08/08/2009 (10:20 am)
I made a small code change to get swimming working for me, you'll need a swim animation, and to change the density of the player.
I have a swim animation for the forgeSoldier, if you want, I dont use him anymore.
nice looking level, by the way
#6
08/08/2009 (10:25 am)
thanks deepscratch. No worries on the forgesoldier swim animation, I'm only using him for testing. Level is getting there :) Will post a video soon.
#7
08/09/2009 (1:29 pm)
Logging: Player difficulty getting out of water THREED-616
#8
08/09/2009 (1:31 pm)
Logging: Water buoyancy applied to Player in a different zone THREED-617
#9
08/09/2009 (1:44 pm)
Thanks James.
#10
08/10/2009 (3:54 pm)
@Julian
Could you possibly send me the DIF you are testing with?
#11
08/10/2009 (5:42 pm)
Hi James. It's ok, wasn't the DIF at all, after I removed the water block, and created a new one it worked fine. The only problem I had was the water buoyancy and the player finding it difficult to move in the water.
#12
08/10/2009 (8:50 pm)
I was hoping to use your DIF (which is probably zoned) to test why buoyancy is being applied and how to prevent it.
#13
12/29/2009 (10:55 am)
For the record this is fixed in 1.1a, not sure it was a problem with my waterblock. either way, thanks guys.
#14
05/04/2010 (3:30 pm)
Quote:Water buoyancy applied to Player in a different zone THREED-617
Marking as resolved.
#15
05/04/2010 (3:32 pm)
Quote:Logging: Player difficulty getting out of water THREED-616
The player movement in water code has been changed so that he can free-swim, he is essentially no longer effect by buoyancy or current. This fixes the difficulty getting out of water, along with making movement in water a lot smoother.

Marking as resolved.