Is there any way to make randomly generated floats the same in different instances of a game in multiplayer? I am using Google Play Games Services to do real time multiplayer in my android app and there are cubes that are randomly instantiated. However, I need each opponent on multiplayer to have the cubes in the same place as eachother.
These cubes get randomly generated at the start, but must be the same for people on multiplayer. For example, my game allows two people to play eachother. Both of them need to see the cubes in the same place. Is there any way to do this?
Any help is greatly appreciated, thanks.