netcode: replicate other players for connecting client

This commit is contained in:
2022-05-14 19:04:34 +03:00
parent 3b8a226fdc
commit 789b4bacec
10 changed files with 358 additions and 23 deletions

View File

@@ -79,7 +79,7 @@ namespace Game
private readonly bool predicting = false;
private readonly List<PhysicsColliderActor> touchingActors = new List<PhysicsColliderActor>();
private int currentInputFrame;
public int currentInputFrame;
private int currentInputFrame2;
private Vector3 currentVelocity;