What does "Replicate Movement" is supposed to do?

Im trying to make a multiplayer Game, and I check “Replicate Movement” in my Object’s BluePrint. But it doesn’t seems to work the way that I though it would… when i start the game In one window my object has a Location and in the other the same object has a diferent Location… What does “Replicate Movement” supposed to do?

How do I make my object be in the same Location in both Client and Server?

I dont even touch the object, when i start the game the gravity just put them in a different position

Hi TheMagmar43

“Replicate Movement” is designed to replicate the transform data of the root component of an actor. For the flag to work, you need to ensure the actor is fully set to replicate and that it’s not sleeping.

You also need to ensure the position is getting updated on the server. If its just updated on the client, then the movement cannot be replicated across the network.

Child components will not replicate their transform data even if “Component Replicates” is set to true.

Good luck

Alex

3 Likes