So I have a level using the FirstPerson template and I created a character that I need to control via inputs. It’s for a Digital Puppet project. I don’t need the character to walk or jump, just to respond to a series of commands while I move the camera around him.
For that, I created an animation montage and an input action mapped to the numpad 1. After some research, I found that I needed to create a second controller to control the character in the level. In the blueprint, I created the following nodes:
Next, in the character blueprint, which is based off the ThirdPersonCharacter one, I simply modified the controller from the default one to the one I created and then created the nodes to play the montage:
But when I hit play, the character does nothing. I tried to troubleshoot input action by triggering a print screen, but looks like the game isn’t listening to my command. Any ideas of what I’m doing wrong?
You might already noticed that the connection from the output of the spawn actor node to the MyController variable is missing. Also check if the casting to your custom controller is successfull.
Yeah, no, I don’t know what I’m doing. Isn’t there a way to assign which player controller controls what? I just want my character to respond to MyPlayerController and the camera to BP_FirstPersonPlayer.
So far I’ve tried:
Create an especific Mapping Context for my character
Create a second camara actor, but the problem it’s the same, I can’t get it to move.
Something that hasn’t ocurred to me is to plug in a second controller, but that shouldn’t be an issue, right?
so the game principle is to have 2 players local(non split screen) where one control the character movement and the other the camera view ?
Something that hasn’t ocurred to me is to plug in a second controller, but that shouldn’t be an issue, right?
yup will need the Create Player (if you are making a coop game) and set the camera bp as player 1(in the possess detail panel), and some code that will attach the camera bp to the character bp.