Set input to another PlayerController
How do I set input to another PlayerController when we have the option to control multiple characters (in a game where you can control more than one character)?
Tried somtehing like, but it doesn't work:
APlayerStart* start = PlayerStarts; APlayerController* controller2 = this->SpawnPlayerController(start->GetActorLocation(), start->GetActorRotation()); this->SpawnDefaultPawnFor(controller2, start);
I blocked the input from the original controller and tried to give input to a new controller.
asked Apr 17 '14 at 09:37 AM in C++ Programming
So what i understand its still single player game, then you don't multiple playercontroller which should be created for each player not character. So insted make PlayerController possess other pawn.
answered Apr 17 '14 at 12:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here