I have a game where there is a forest. In the forest there are animals that run in every direction, I want to synchronize the position of the animals so that every player who enters will see them in exactly the same place. how do I do it?
I was thinking of an idea that the first player to enter is the one who will take care of the synchronization and send all the players on the net the locations of the animals but what if he disconnects? How do you handle the synchronization of objects that are not the main player?