Multiplayer mouse rotation affecting all players / actors
I am trying to create a top down multiplayer game where the mouse is used to control the rotation of the person's character.
My below setup worked for singleplayer, however, I find that when I test in mutiplayer (This is the base character blueprint) that this setup affects ALL the players in the server.
For example, when one player moves their mouse to the left, both actors (or player models) look in that direction and follow the mouse.
I suspect that it has something to do with setting the target for "SetWorldRotation" as the mesh of the actor, and the target demanding to be a scene component, but I am unsure how to fix this.
If anyone could help me, I would really appreciate it!
asked Apr 03 '19 at 12:51 PM in Blueprint Scripting
I figured it out, instead of targeting the scene component and the mesh, I used SetActorRotation and GetActorLocaiton, both targeting Get Player Character.
Now I just need to figure out how to replicate the character's rotation to the server...
answered Apr 03 '19 at 11:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here