Search Unity

Help Wanted How to teleport player "server-side" in ClientNetworkTransform use-case in Netcode for gameobjects

Discussion in 'Netcode for GameObjects' started by wubdproject, Nov 15, 2021.

  1. wubdproject

    wubdproject

    Joined:
    Oct 31, 2021
    Posts:
    2
    How can I teleport a player on the server side using ClientNetworkTransform? The only solution that worked for me was a call ClientRPC from the server with a request to move to certain coordinates. Thank you very much in advance!
     
  2. CosmoM

    CosmoM

    Joined:
    Oct 31, 2015
    Posts:
    24
    That's currently the only way to do it with ClientNetworkTransforms.
     
    wubdproject likes this.
unityunity