So i am trying to create a free camera for an RTS game. You can move the camera around the world and once you select a unit the camera snaps to that unit and can be zoomed in and moves with the pawn. When I started working on this about an hour ago i thought the hard part would be changing controllers/cameras once a unit is selected but unfortunately i have been hung up on a stupid issue for the last 40 minutes.
Like I said I want to be able to move a free camera around the world. So i created a blueprint with a collision sphere then attached a spring arm to the sphere and a camera to the the spring arm. Good so far. I then changed created a controller for the this FreeCamera. I also remembered to change my default controller and pawn in my gamemode to my new FreeCamera and FreeCameraController. Also good so far.
Now for the issue. I added some blueprint code to the controller to have the controlled pawn move using a “add movement input”. I compiled and went to test it out. Nothing moved. I made sure my input mapping was done correctly. I tried multiple different ways to get the pawn to move. I tried moving the code out of the controller BP and into the FreeCamera pawn. I tried using other code that i need worked on my player BP for movement. I made sure my collision sphere was set to move not static. I cant get anything to make this pawn move.
What am I doing wrong? I have exhausted my knowledge and am starting to get frustrated.