4 ms·
Problem: Lag + collision detection = characters slide. Solution: Turn off collision detection. I was sincerely hoping for an actual technical solution for deal
by tetrep 13y ago
Problem: Lag + collision detection = characters slide.
Solution: Turn off collision detection.
I was sincerely hoping for an actual technical solution for dealing with peer-to-peer networking and lag. I feel somewhat cheated out of the time it took me to read that article. While it did explain the problem very nicely, the solution was to just disable the feature outright.
- blahedo 13y agoWell, the first paragraph did say > The solution we finally managed to come up with is also a good example of how very incorrect workarounds can actually be a really good solution to a complex problem. So you knew they were presenting a "very incorrect workaround"---which, counterintuitively, worked better than some of the more "correct" things they tried.
- tetrep 13y ago>So you knew they were presenting a "very incorrect workaround" It actually made it a bit more enticing, I was expecting a horrific chain of gotos or some other cliche programming paradigm being completely violated for the sake of pragmatism. What we got instead was, "This is a hard problem, let's just not solve it." which was written up with a title of "How we solved a hard problem"
- bm1362 13y agoThey did solve the problem, the solution was to turn of collision detection.
- Guvante 13y ago> While it did explain the problem very nicely, the solution was to just disable the feature outright. To be fair, they did solve the problem. If it isn't noticeable during gameplay and doesn't create unwanted degenerate actions from players, they succeeded in fixing the bug, even if the technical aspect is simple.