how to turn off the transform synchronization
Answers
-
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;
0 -
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.
1 -
I disable the NetworkTransform but it doesn't work.
0 -
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?
0