Photon Transform View doesn't sync localscale
I wanna sync scale of Head with Photon Transform View
There's Photon View on parent.
On playing, the scale of the local Head changes by control transform.localScale
But on the network does not.
What can I do for this?
What shoud I check?
Anything else to explain?
I need help T.T
Best Answers
-
There is no apparent issue with this.
You could check if the remote clients are indeed getting the scale info (and which info they get) by adding Debug.Log after
tr.localScale = (Vector3)stream.ReceiveNext();
in the PhotonTransformView.0 -
I don't know why it's resolved.
It's settled
I don't know, but I think the problem was that parents were adjusting localScale through transform view.
Anyway, it's settled
Thank you.
0
Answers
-
There is no apparent issue with this.
You could check if the remote clients are indeed getting the scale info (and which info they get) by adding Debug.Log after
tr.localScale = (Vector3)stream.ReceiveNext();
in the PhotonTransformView.0 -
I could check the log, but it didn't sync.
I added Debug.Log to the writing part just in case.
Surprisingly, it sent changed localScale.
Why can't I read it? T.T
Send changed scale! - (The intermediate script (1.0, 1.0, 1.0) belongs to another object.)
Aalways read (1.0, 1.0, 1.0)
0 -
I don't know why it's resolved.
It's settled
I don't know, but I think the problem was that parents were adjusting localScale through transform view.
Anyway, it's settled
Thank you.
0 -
Thanks for the update.
Closing this.
0