Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Everysimo's avatar
Everysimo
Explorer
3 years ago

Ping Pong VR , best way to sync a ball? PUN2

Hi,
i'm trying to include a ping pong minigame in my VR multiplayer app,
but i'm having problems with the syncronization of the ball, in fact only the OWNER of the PUN room can se the ball moving smooth, the others can see the ball lagging, so the game is unplayable.

I'v tried to change the OWNER when the ball is hitted but the result is not that good, so i want to sync the ball for everyone in smooth way.

I will try to share you the but is in ITALIAN so it will be taugh to uderstand, i'm sorry.


Which is the best way to sync a ball? I guess the problem is that the ball react just too the racket gravity.

THE BALL OBJECT has this for the SYNC

The script of the racket when it the ball does this
1) Make the controller Vibrate
2)Direct the ball to the other racket (aimTarget)
3) Set the velocity and the SyncronizedValues for the Photon tranform View Classic Component

 

 

 

Replies have been turned off for this discussion