fusion network ball synchronization

Options
900eg
900eg
edited September 2022 in Fusion

I used to make a table tennis game using PUN2.


In PUN2, when the position of the ball is synchronized with Transformveiw, the movement is unnatural.

so, It was synchronized by transmitting the startposition and velocity to rpc and operating the same local logic. both player1 and player2

I read the documentation to change my project to fusion and it says that it is not recommended to use rpc.

So, what is the best way to synchronize the movement of the ball?


Even in fusion, the host and client, who have high latency, still have unnatural movement of the ball.

In the golf sample, the position and result were the same, but it was confirmed that the movement of the ball was lost in the middle.

If send the startPosition and velocity of the ball with rpc, the start timing of the ball is less accurate even in areas with high latency, but the movement is smooth.