Sync Scene Object for both players
Options
I've a game that is like Pong, two players can hit a ball and try to score points by trowing the ball on the other player area.
Currently i'm using
Is there a different aprouch to solve this problem, or a faster way to transfer ownership of a object?
Currently i'm using
photonView.TransferOwnership(PhotonNetwork.LocalPlayer)depeding on who is closest to ball it will have the ownership of it, the problem is that this call can take over 900ms to complete and the game is fast paced.
Is there a different aprouch to solve this problem, or a faster way to transfer ownership of a object?
0
Comments
-
I faced the same problem. Ball was jittering while transferring. Best I can found is this:
https://medium.com/@johntucker_48673/synchronization-issues-unity-photon-part-1-cde43313d2c10