I want to set a network object A as a child of another network object B, and temporarily turn off the transform synchronization of network object A. Is this possible?
Just disable the Photon Transform View from object A.
//Do your child Stuff here
//Please get the PhotonView from object A and disable it here
photonView.enabled = false;
Reparenting requires using [Networked] on a NetworkBehaviour or NetworkObject property that identifies the parent. You can use either of those to reference the networked GameObject.
To disable the NetworkTransform (assuming this is the transform sync you are talking about), you can just disable the component on the State Authority - and that will stop generating updates from that component to other clients.
@Nexo, thanks for helping (I saw several of your posts - much appreciated). I think you accidentally gave a PUN reply to a Fusion category question :)
I disable the NetworkTransform but it doesn't work.
If you disable the NetworkTransform on the State Authority it should stop sending. Are you sure it is the State Authority that you are disabling?
analyze performance and traffic on our website.
By clicking on the „Accept All“ button you consent to the use of non-functional cookies and the subsequent
processing of personal data to optimize our website and services as described in more detail in our
By clicking on the „Customize or Deny all“ button you can decide otherwise.
Clicking on the „Customize“ button will take you to a page where you can configure the usage of non-functional
cookies (and related technologies) or deny all of them. You can access these settings at any time and also
subsequently deselect cookies at any time in the footer area of our website.
We use the following categories of cookies and related technologies to enhance your experience,
show you personalized content, and analyze performance and traffic on our website.
We respect your right to privacy and accordingly you can chose to not allow some types of cookies (and related technologies).
Click on the different category sliders and change our default settings to manage your cookie settings.
For more information on the specific cookies/related technologies we use and on how we use these,
Authentication cookies we use are required to run our services … Cookies are required:
These cookies collect anonymous data and allow us to optimize our
website and user experience. These cookies are listed here:
Help us to understand how visitors interact with our services, enables us
to analyze and improve our services (also through third party analytics).