ddnet
ddnet copied to clipboard
Prediction for lasers, doors, grabbers, bullets, and hearts/shields
As it is right now, the following items aren't predicted (this is not a complete list, just what I've noticed)
- lasers
- doors
- grabbers(?)
- bullets
- hearts
- shields
I don't know how the prediction code works. Help would be appreciated in implementing prediction for these items. I was told @trml is the guy to ask about this. What do you think
are grabbers the same as draggers? I thought they just recently received prediction. https://github.com/ddnet/ddnet/pull/6699
I don't know. Neat, if so
Door physics still feel like they are not represented properly in antiping. It's possible that while hooking a tee into a door the speed is affected by multiple collisions, complicating the appearance, but in my view it could be calculated based on how fast the tee is being pulled and averaged out, if that makes sense
Edit: Since I do not play with antiping off, I realized it could be possible that it looks the same regardless. I just tested it and here is my comparison. You can see that despite this server running on my LAN, there is a considerable amount of movement when antiping is turned on:
https://github.com/ddnet/ddnet/assets/38897710/396c2d0d-a1bd-4bc3-a8a6-e636b348905f
I have also confirmed that antiping is the cause since higher pings result in a higher discrepancy