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

Network Transform bugging with "AssignClientAuthority"

$
0
0
I've been trying a ton of stuff already, none of which seem to be working.

I have a simple scene, players get in, and they can spawn cubes, the cubes authority is the player that spawned it.
They can move the cube using "hasAuthority" just fine.
I can also switch authority between clients using a Command

Code (CSharp):
  1.     [Command]
  2.     public void CmdChangeAuthority(NetworkIdentity netID)
  3.     {
  4.         netID.RemoveClientAuthority(netID.clientAuthorityOwner);
  5.         if...
Network Transform bugging with "AssignClientAuthority"

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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