How can I Move my camera with different Keys???

Hey Guys! I’m new to UE. I’m playing around with the blueprint stuff in the top down template. I’ve deleted the camera attached to the player and created my own camera placed at a particular angle.

I want to move the camera in a RTS style manner, like WASD to move the camera in all direction. How can I achieve this?

Please help.

Thank You.

I’d recommend checking out my tutorial for RTS style camera movement. It should be a good start to hopefully get you in the right direction.

RTS Style Camera Movement

Thanks for the reply. I’ll try it first thing tomorrow morning and will let you know…Cheers!

@pattym Sorry for such late feedback…I’ve been busy last few days…I’ve tried your solution until the 5th page. I’m using it in the top down template. I’m having an issue, hope you might be able to help. Whenever I hit play in the editor, the camera starts at Player Start location.

It moves perfectly with the WASD controls. But the mouse controls aren’t working at all. How can I solve this.

I solved this by adding input into my player controller and adding my own variables that controls the camera so I have a function that moves the camera left when i hit the ‘A’ key. In my level I have a CameraActor that I grab a pointer to in BeginPlay in my player controller that I use to move.

You need to make sure that you are setting up the camera with SetViewTargetWithBlend to make your game uses your custom camera

You mean in the level blueprint. I’ve done that already. It now starts at the custom camera position, but now the camera doesn’t move at all.

Its working Guys! There was mistake on my side…I messed up a few things inside the UpdateCameraLocation&Rotation function.