Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question PUN2 add Component(FixedJoint) to Gameobjects and sync to all clients

Discussion in 'Multiplayer' started by EnvisionGames, Nov 23, 2022.

  1. EnvisionGames


    Sep 24, 2019
    Hello, I am trying to add a FixedJoint to a Gameobject and want this FixedJoint to be also created on all other clients. How can I create a Component like a FixedJoint for example on a Gameobject and then create it on all other clients with RPC call? How would the RPC code look like to achieve this? I can’t figure it out, please give me some tips.
  2. tobiass


    Apr 7, 2009