Replicate Set actor rotation in playercontroller
I need your help getting my client pawns to rotate,
When i play, everything works on the server and the client can see the servers pawn rotate. But the client is unable to rotate..
I've tried a few things suggested on the forum, with mixed results, but nothing that works..
Here is a screenshot from my top down controller.. How do I make this replicate in multiplayer?
Hook up Rotate Client Pawn to Set Actor Pawn, so the client executes the rotation aswell. Right now, only the server executes the Set Function.
answered Jan 29 '17 at 03:23 PM
Wow, this is old I am surprised nobody answered. Don't know if it's still relevant but somebody might find useful: What you need to do is:
1) Move the rotation procedure to the pawn from the controller
2) After you execute on server, multicast to execute on all clients (still using the pawn, not the controller)
Reason for that is the PlayerController only exists on the owning client so the code will not execute for other clients unless its on the pawn.
answered Jul 15 '17 at 10:04 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here