- Home /
Photon How do I add RPCs so all players see a game object move
I filled this all out before but my progress got reset so ignore if I sound Rushed I want to make it so when a player pickup and drops an item in game that all players can see where they dropped it. But my problem is that you can only see the updates made by the master client of the server. I understand why it's like that but I have no understanding of what a RPCs is or how I would go about using it. What I want to do is make a script for all the gameobjects that can be affected for players and make it so any change to that game object send it through the server to be viewed by all players instead of just interactions made by the master client. I have a video of the problem and I have more than just the item problem like the fact that the material of the tv that displays the camera doesn't work but I believe that this can be fixed using RPCs then again I have little to no understanding of what a RPCs is. I was gonna try and finish this game before Christmas but right now I don't see that as realistic. Any help on this subject would be much appreciated !!! https://youtu.be/dRYMChDjWjU I've placed the YouTube video that shows the gameplay that has the error with the game objects. is there anyone who could help me make a script "It doesn't need to be RPCs I'm just told that's the best way" but to make a script that can update the position of game object swell as the rigid body and wether it's active or not basically any changes that can happen.
Your answer
Follow this Question
Related Questions
Networking between projects: how to send ViewIDs? 1 Answer
Photon PUN and persistence 0 Answers
Changing the parent of a transform via RPC 0 Answers
[Photon] Restart scene rpc doesn't work 1 Answer
Update int value with photon rpc? 0 Answers