Starter.racing problem
by Howard Dortch · in Torque Game Engine · 04/20/2007 (11:05 am) · 7 replies
I set up the racing game for lan and got both cars in the game. When I watch the other player car move it jerks or hesitates some. Each client sees this jerking movement for the other player.
Anyone else have this problem or a fix?
Anyone else have this problem or a fix?
#2
04/28/2007 (10:29 am)
Torque's vehicle code isn't the best across a network, although it should be alright across a LAN. Which version of TGE are you using?
#3
You may have to add in the "backgroundSleepTime" & "timeManagerProcessInterval" variables.
These values should give you a smoother ride:
04/28/2007 (10:39 am)
Try adjusting these values which can be found inside of client/prefs.cs.You may have to add in the "backgroundSleepTime" & "timeManagerProcessInterval" variables.
These values should give you a smoother ride:
$pref::backgroundSleepTime = "25"; $pref::Net::PacketRateToClient = "32"; $pref::Net::PacketRateToServer = "32"; $pref::Net::PacketSize = "450"; $pref::timeManagerProcessInterval = "0";If not, dig into the source code and fix some code.
#4
04/28/2007 (10:44 am)
I have 1.5. Just seems strange the projectiles, players etc have a smooth move across the net and not do it for a vehicle. Thought there might be something in the c++ code to fix things for a vehicle without changing the packets speed. I get 100 vehicles in the game and net traffic will bog the thing down worse.
#5
04/30/2007 (7:50 am)
I made all those changes and it still jerks around. I looked in the process ticks and updates and dont see a way to speed things up or make a smothe move across the network. Anyone help here ?
#6
05/10/2007 (8:30 am)
Bump, Any help on this? Torque not capable?
#7
05/12/2007 (10:02 pm)
Torque is capable of any type of game so someone may help. Try editing the collision a bit (not sure it will help too much).
Torque 3D Owner Howard Dortch
Default Studio Name