Player thinks he is in a Water block when he is not
by Joshua Halls (Xerves) · in Torque 3D Professional · 11/17/2009 (6:04 pm) · 8 replies
Water block is clearly some distance away from the player (mind you it is close, but not close enough that I am in any of the boundry of the block) and the player starts to go through the swimming animations and other signs that the player is inside of some water.
About the author
Part of the team that works on The Repopulation, a SciFi based MMO using a heavily modified version of the Torque MMO Kit - T3D. I also take care of the T3D version of the Torque MMO Kit.
#2
11/17/2009 (8:01 pm)
Nope, it is rather constant. I wasn't in the water at any time, I was moving toward it.
#3
11/17/2009 (9:02 pm)
Did you export with a really big bounding box - or in fact have your bounding box settings in player.cs large? Random thoughts here...
#4
11/17/2009 (9:35 pm)
No, bounding box is normal. If I walk up to the water from a different angle it responds like it should.
#5
11/17/2009 (10:42 pm)
I have just the opposite issue. will be swimming and then the water disapears and character falls. will eventually catch water and start swimming again. Just mentioning because the issues could be connected.
#6
Cos I had to do this to get swim to work properly for me.
11/17/2009 (11:16 pm)
Guys, have we modded our player.cs to look like:...
{ "prone_back" },//yorks added
{ "prone_side" },//yorks added
{ "swim_root" },
// { "swim_forward" },
// { "swim_backward" },
// { "swim_left" },
// { "swim_right" },
{ "swim_forward", { 0.0f, 1.0f, 0.0f } },
{ "swim_backward", { 0.0f, -1.0f, 0.0f } },
{ "swim_left", { -1.0f, 0.0f, 0.0f } },
{ "swim_right", { 1.0f, 0.0f, 0.0f } },
// These are set explicitly based on player actions
{ "fall" }, // FallAnim
{ "jump" }, // JumpAnim
{ "standjump" }, // StandJumpAnim
...Cos I had to do this to get swim to work properly for me.
#7
11/18/2009 (7:27 pm)
Hey guys. Let me know if you feel the changes Steven mentioned above ( or others ) seem to you like they should be merged into the T3D.
#8
11/18/2009 (7:30 pm)
This might be something we induced. I will get back to you if it is or not. We had some code in from TGEA that might be causing some issues with this.
Torque 3D Owner Rodney (OldRod) Burns
Could it be lag and the server thinks he is in water and is telling him to swim?