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

Unet Network Time sync?

$
0
0
I can't find a way to sync time between client and server. It is essential for lag compensation. I used to have Network.Time but it doesn't work with the new hlapi. I tried using commands and rpc to calculate the difference but Time.time is very unstable and stops when you drag a window for example so any synchronisation breaks without any warning. And it's not trivial to get a good sync precision. Got any advice?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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