Working on Unreal multiplayer
This week I've been working on my multiplayer game and I learned a lot about replication and the Physics Handle Component. First of all, I added some switches to activate the mechanisms of the platforms, but I got stucked because I didn't know a class just can replicate elements that ownes to it, so I can't replicate the platforms movement inside of the character's functions. I fixed it replicating the functions to activate the switches to let the movement replication to the corresponding classes. I also added a mechanic to pick balls, I want one of the player to take a ball and put it on a platform wich will activate the mechanism which will allow the other player to cross to the next section. It worked using a Physics Handle Component, but some weird thing are happening when a player takes twice an object (the distance between the player and the object increments) and if the player takes a ball created by the balls spawner (the z position of the ball has a decrease)...