PlayerController in multiplayer question
Hello everyone i have a lilttle problem that i cant solve couse i just dont understand how it works ! I have a character and a character controller
when I define 2 in Numbers of Players in the multiplayer options my first player works just fine but the second player kinda dislike my " Run/Walk Speed " Blueprint so he dont change the walkspeed if i press the InputAction Run key
so my question is what i do wrong and how do it the correct way
Does anyone have an idea why this might be happening?
I think this is because you are getting the player pawn and character by index which means that you are always getting the exact same actor and not the one that corresponds to your controller. Instead of using the Get Player Character/Pawn nodes try using the GetControlledPawn node which gets you the pawn that is currently possessed by your controller.
answered Mar 30 '16 at 09:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here