]> git.deb.at Git - rhonda/impostor.git/commit
Rework CustomNetworkTransform
authorminiduikboot <mini@duikbo.at>
Wed, 25 Oct 2023 19:28:03 +0000 (21:28 +0200)
committerminiduikboot <mini@duikbo.at>
Wed, 25 Oct 2023 19:28:03 +0000 (21:28 +0200)
commitb0901507f77c295393abc676f68b9258d9139e41
tree0436001c727cf194e5b823a90b6db3678b00b255
parent29a55d704b1fd225f954b3147f68f4cc27e32ebc
Rework CustomNetworkTransform

Innersloth has changed CNT from position/velocity to a queue of
positions. As a result, drop the velocity as well.

We're currently not tracking the current position of the player, so
we're just storing the last one
src/Impostor.Api/Net/Inner/Objects/Components/IInnerCustomNetworkTransform.cs
src/Impostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.cs
src/Impostor.Server/Net/State/Game.cs