Set actor rotation replication

I’m working on multiplayer project and I created an aircraft wich player can posses.

For aircraft rotation I’m using set actor rotation(it is getting rotation from get control rotation node)every tick and I can’t get it to replicate properly to server and other clients.

I am trying to get this to work for over 4 days.

Can someone help me with this please ?

Thanks! :smiley:

You shouldn’t think of it as “replicating to the server”, instead you are requesting the server rotate the plane and replicate the result to all clients.

Create a “run on server” replicated custom event to perform the rotation and make sure that the plane has its “replicates” and “replicate movement” boxes checked.

Call the rotation event from the owning client and pass it a value to rotate by if needed, then just validate any input and rotate on the server.

Thanks I will try that. :smiley:

I got it working only when I package my project,in pie it doesn’t work properly.

Sounds very strange. You are testing with multiple players (or dedicated server) in editor?

Can you post an image of your bp?

I don’t use dedicated server,I am testing with multiple players.
I didn’t use your solution because it didn’t work for me,here is my blueprint.