Game Development Community

Interpolation problems? (Jumpy players)

by Robert Nall · in Torque Game Engine · 02/19/2004 (1:01 pm) · 122 replies

Bare with me here as I attempt to describe this, heh.

Basically, for any client connected to the game (including the super/server-client) the engine seems to have trouble positioning the other clients in the game. So say you're driving around a track and another racer shows up in your view, they will appear to be spastically warping around their general position. It's as if there were serious lag on the other player, except that nothing else is showing signs of lag. Now if you head over to that other player's screen, you'll see the opposite. His car is moving just fine and the first player's car is all over the place.

I've looked for this in the starter.racing package and not noticed anything. I seem to recall reading somewhere that the speed of an object can affect it's interpolation negatively in the TGE, might that be what's going on here? I'm also using a resource that seperates the camera from the control object, so I suppose that could be causing me problems as well.

So I was basically wondering if anyone else has run into this and knows what it is. If not, I guess I'll have to go test it more throroughly myself, heh. I just have other things on my plate right now and was hoping someone else had already run into and solved this problem before. ^_^

Thanks,
-Rob
Page«First 1 2 3 4 5 6 7 Next»
#121
11/16/2006 (1:24 pm)
I made a video of what's happening..
Once firing, I'm not letting up - it's suppose to be a steady stream.
Also notice how I'm actually hitting myself in some cases.
http://www.tuxwars.net/videos/TuxWarsVideo.mov
#122
07/11/2007 (8:54 am)
Rise Frankenthread! RISE!!!!!


I noticed that the issue with vehicle/vehicle collision appeared to get completely ignored in terms of a solution with the 4 or 5 *other* issues that popped up along the course of this thread.

We've been getting this issue from nearly day one (only after adding dynamic collision resolving of course) with our vehicle racing game, and the only way for us to minimize it was to disable client-side interpolation (which causes jerky vehicles as they don't interpolate smoothly to their correct server-based positions).

From what I've read in this monster of a thread is that there have been many others who have also had this same issue, and have either apparently solved it or have given up on making racing games with Torque... even the Torque employee's have not addressed the issue even though comments were made such as:


[Josh Williams]...the instructions Mathieu sent just appear to reproduce the collision problems, not the warping and particle issues. We are most interested in examining the warping issues, since they are not expected at all.

-This is a bit disturbing as it almost sounds to me that the "collision problems" *are* expected, and they are not worth investigating?


[Tim Gift]...There still appears to be some issue with the player's network syncing, though I'm not sure if this is just a problem with the player, or all control objects.


So, has *ANYONE* been able to fix this bad client/server syncing when it comes to 2 vehicles dynamically colliding with each other?
Page«First 1 2 3 4 5 6 7 Next»