Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question 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:
    204
    That's currently the only way to do it with ClientNetworkTransforms.
     
    AlexLeonardKrea and wubdproject like this.