I am creating a online two player football game in Unity 5 in C#
There is two players (which mean the max player in the room is 2)
If the master client creates a room he will instantiate a character and will control it
Then if the second player joins the Room as Not A Master Client he will instantiate his player and he can control that player (but not the master client).
When the second player joins the room, I will instantiate the ball and then can start the game!
But the problem is if I instantiate the ball, it can not be “kicked” by the master client where as the second player can “kick” it and play with it!
(The ball has photon-view on and has a rigid-body)
How can I then instantiate the ball so it is Playable by both the Master Client and the Second player who joins (the room)!