Host looks laggy to the client, but not vice-versa.
Hey! So I have been working on multiplayer, and I'm pretty much done the core multiplayer scripts, but I have one issue that I think I'm having. I made a script to sync my players velocity, position, and rotation, and it works extremely well, but the one weird thing is that the host looks slightly more laggy/jittery to the client than the client looks to the host. This is really odd, and I have no idea why. It's not super obvious, but if you focus on it you can see it pretty clearly. I can make a gif of it if you would like. Anyways, if you could check out my player syncing script that would be great!
Script: http://pastebin.com/qDHNUnWW
I would say that's because the client updates in FixedUpdate and the server updates in Update, which means different speeds in value changes. Try updating the server in FixedUpdate as well and see if it changes things
Your answer
Follow this Question
Related Questions
[SOLVED] PhotonNetwork.Instantiate cannot spawn players 0 Answers
HLAPI simple 2 player game 1 Answer
2D shader / lighting like Terraria or Starbound 2 Answers
Rotate towards mouse pointer 1 Answer
Sprite not moving properly? 0 Answers