How do I make a camera rotate around the player with arrow keys? (for unreal engine 5.1)

I want to set it up so that instead of using the mouse to control the camera, I can use the arrow keys on the keyboard to rotate the camera around the player.

I’m very new to Unreal Engine; i’d love any help!

Hey @Brosppa!

The Event Graph:

The IMC:

Hope this helps :innocent:

1 Like

This works splendidly!

I had a two more questions:

  1. How can I change the camera’s rotation speed when using the arrow keys?

  2. How can I make it so the camera can rotate freely around the player without changing the player’s direction?

Thank you for the help! :grin:

By multiplying the action values like this:

Select Self from the Components window on the top left, and while having it selected, navigate to the Details window, and under the Pawn section, untick the checkbox next to the Use Controller Rotation Yaw property like this:

You’re welcome :blush:

1 Like