That way you get the correct rotation on the client. But other clients don’t see you pitching down
Hello everyone, I’ve set up a system in which the player switches to use first person arms when aiming, however in order to get the arms to move up and down, use controller pitch needs to be enabled. The issue is that while in multiplayer, the player’s pitch is replicated no matter what, so when I look down in multiplayer the model looks downwards as well. Here’s a quick video of the issue: - YouTube
You can see it works fine for the client, but not for the server. Thanks for any help in advance!
check if the actor the current instance of the game is the owner of that character and disable pitch if not
I’m not quite sure how to check that with the way I have it set up.
Right now it’s just a function in the player blueprint that controls everything.
Use the hasAuthority blueprint node
If you dont have Authority disable the pitch
Well that means only the client would be able to set use pitch, and the server can’t.
Right but it doesn’t work that way for the server player