some progress...

This commit is contained in:
2025-03-21 23:25:14 +02:00
parent d68c1c26ff
commit cc9eacca8d
3 changed files with 86 additions and 43 deletions

View File

@@ -101,7 +101,7 @@ public class PlayerInputNetwork2 : IPlayerInput
_worldStateManager.GetPlayerInputState(_playerId, _frame, out _state);
}
public PlayerInputState2 GetState() { return default; }
public PlayerInputState2 GetState() => _state;
public void ResetState()
{

View File

@@ -286,7 +286,7 @@ public class PlayerMovement : Script
//if (Input is PlayerInputDemo /*&& currentInputFrame2 >= currentInputFrame*/)
// return;
Input.SetFrame(worldStateManager.ClientFrame);
Input.SetFrame(worldStateManager.Frame);
Input.UpdateState();
/*if (input.frame > 0)