SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
85 stars 18 forks source link

Item model desynced from point #4386

Closed ai-kana closed 2 months ago

ai-kana commented 2 months ago

As seen in the video the distance is based on the item's drop point and not the model location.

I don't believe this is a bug, so call it a feature request.

But a fix of it would allow for a nice anti-cheat measure to be build into the game as far as item range cheats. That being my original plan for this item distance stuffs.

https://github.com/SmartlyDressedGames/Unturned-3.x-Community/assets/109441902/3b077d85-b042-4e8c-a0fd-5a86b1b2a3a4

SDGNelson commented 2 months ago

This is working as intended, sorry. Currently item physics are only simulated on the client, not the server, and if they pass a certain distance they will disable physics and snap to the server's drop position. (e.g., rolling down a hill)