We spent a few hours experimenting with different things to see if we could get this to function as we would have expected it to.
We simply didn't know what the original intention for some of this was, and none of us are particularly good at maths.
What I can say, though, is that with this code, and the following settings, this appears to work pretty well. Crashes with collisions are basically impossible, but the server can still withstand temporary lag spikes.
Please read through the comments on the changes for more context about why they were done.
This is not meant to be merged! This is the best way for us to share our findings
We spent a few hours experimenting with different things to see if we could get this to function as we would have expected it to.
We simply didn't know what the original intention for some of this was, and none of us are particularly good at maths.
What I can say, though, is that with this code, and the following settings, this appears to work pretty well. Crashes with collisions are basically impossible, but the server can still withstand temporary lag spikes.
Please read through the comments on the changes for more context about why they were done.
This is not meant to be merged! This is the best way for us to share our findings