Replicate rotation

Hello!

I have some trouble to replicate the rotation… I’m making a spaceship shooter, with top down view.
I want to rotate the ship (with mouse), but I’m not able to replicate it

This is the actual working BP :

I’ve tried with custom events, but when I choose “Run on server” → It only runs on server, and the character don’t rotate for the client.

And when I choose “Run on owning client” instead of “Run on Server” → It only runs on client BUT it don’t work really well, it’s jittering & lagging and I have to move the mouse wayyy more in order to rotate the ship.

So I don’t know what to do in order to make it functional…

I’ve also tried with the controller, and it works…


…but I have a limitation in the rotation of -90 to 90°…so I can’t use this solution

Thanks a lot for your help !!!

You have replicate movement checked right?

I don’t think you wanna go the route of updating the server every time your character has rotated a little

1 Like

Hello, thank you for your answer.

I’ve choosen another solution… I’ve mooved everything in my map, so I can now use “Add Controller Yaw Input” for the rotation, without having the -90 to 90° limitation of the other “Add Controler” rotation. :slight_smile: