Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Taking user inputs from server. Simple Question.

$
0
0
Hi! Why is it a bad idea to save all the players keyboard/Xboxcontroller inputs in a List of scripts that stores those values on the server? Then a client updates its representations of the other client characters based on those inputs.

The thing I can see going wrong is that the position of the real player character and the one shown on clients can be a little off due to different framerates and pings but its compensated by Time.deltatime, but not completely? And then position can be...

Taking user inputs from server. Simple Question.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>