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

Spawning players via NetworkManager ignores rotation

$
0
0
I'm using my own override method for player spawning as I quickly integrated my old spawnpoint system from old networking. Everything is working fine, players appear in the right positions... except for the rotation.
As I have some client prediction/lag compensation/peer interpolation system I'm migrating, I do not use automtic syncing via NetworkTransform - it would not work together with the existing code I have.

Code (CSharp):
  1.     public override void OnServerAddPlayer(NetworkConnection...
Spawning players via NetworkManager ignores rotation

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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