Game Development Community

Glitch in collision detection?

by BlackRichard · in General Game Discussion · 06/22/2004 (6:01 am) · 5 replies

While I'm on a roll... :)

One thing I see periodically is that my orb will stick to a surface and freeze there for a while. Sometimes (always?) it includes sticking to the surface. (Usually happens on a horizontal surface but at times on on non-flat surfaces.) Lately at least, when the freeze ends, I usually reappear elsewhere. Can be awful frustrating when you reappear way out in the water and such.

I'd guess the duration of the freeze ranges from 2-10 seconds.

#1
06/22/2004 (6:14 am)
That's a lagging issue again. These things are showing up worse because the servers are lagging lately. Essentially what happens is that the server calculates the collision and starts bouncing things around to accomodate. The collision update is sent to the client (albeit a bit late because of lag). The client already had the orb bounce somewhere different (becuase it didn't know about the collision from the server yet). The result is what you see on the screen (aka the client) is not the same as what happens on the server. There is a lag in updating the client at this point until the orb comes to rest. When it does - the client is updated and the orb is "shifted over" to it's correct position. Again, this is a lag issue and we will be attempting to make it more tolerable for O3.
#2
06/22/2004 (6:47 am)
If I understand you correctly, I'm referring to something different--the times when the orb reappears in locations it couldn't possibly have gotten to. Completely across the map, for instance.

On the apparent freeze, are you saying the client and server can't get in sync so the client just draws the last known state until the get back in sync?

Thanks.
#3
06/22/2004 (10:00 am)
When you freeze on the ground and reappear somewhere else, it also kills your star-in-a-row bonus shots. So, say you had 30 shots in a row and you freeze and reappear somewhere else, you lose your streak. Very frustrating indeed.
#4
07/02/2004 (7:33 pm)
I have yet to see this.
#5
07/09/2004 (8:03 pm)
I have had this happen to me before when I was playing with other players that was, for some reason, casuing me to have EXTREME amounts of lag. It was almost as if the Orb was teleporting. But then again, I have seen weird things such as this in many other games when lag becomes an issue. I believe that the server basically gets confused where you are and tries to stick you back in the right place... even if it's WAY off track. (So, sorta like what Justin said, only I think that what is happening to you and what happened to me only occurs with EXTREME lag - such as playing with people on another continent.)