Weird behavior with AddActorLocalOffset when replicated on a client

I’m trying to set up some basic movement functionality; the first video is on the server side, which is working as intended. The second video is when I try to run it as a client. The ship just kinda stutters its way straight up…

2022-06-02 23-39-50.mkv (6.5 MB)
2022-06-02 23-40-27.mkv (4.2 MB)

I’m just starting to wrap my head around replication; I’ve tried to go through and mark all of the components as replicated, but I may be missing something…

If replicates movement is turned on then it could be the server correcting the position.

1 Like

If you didn’t forget replicate this function, is it executes both server and client?

1 Like

Thanks both – it seems like this was indeed it. I guess I’m still confused on what needs to be replicated and where… I’m struggling now with figuring out how to replicate rotation in C++, but I’m going to try to figure it out myself before I ask for help here. :stuck_out_tongue: Thanks again!

in c++ calling SetReplicateMovement(true); will take care of replicating transforms (position, rotation, scale)