# How do I make the camera rotate and follow the player's direction?

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [August 28, 2019, 11:20pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543 "2019-08-28T23:20:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8c3a21d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8c3a21d4](https://forums.unrealengine.com/u/anonymous_user_8c3a21d4)\
**Post date:** [August 28, 2019, 11:20pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/1 "2019-08-28T23:20:16Z")

</div>

So, I’m working on a project and I’ve added a camera to the scene. There are two players and I’m able to move around the other player in circles like the gif below. Now the problem is, how do I make the camera rotate and follow the player’s direction like the gif below with blueprints?

My character is able to lap around the other character, but the camera stays still. Any help would be highly appreciated.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 29, 2019, 7:42am UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/2 "2019-08-29T07:42:43Z")

</div>

Presumably the guy in the white is the one you’re controlling 3rd person style? Is the camera not on a swing arm behind him?..

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8c3a21d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8c3a21d4](https://forums.unrealengine.com/u/anonymous_user_8c3a21d4)\
**Post date:** [August 29, 2019, 8:04pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/3 "2019-08-29T20:04:13Z")

</div>

Thanks for the reply.

3rd person style, yes, correct. & Did you mean to say a **Spring Arm** behind the character in the character Blueprint? My character also doesn’t have a camera behind them. What can I do next?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 29, 2019, 8:17pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/4 "2019-08-29T20:17:23Z")

</div>

It’s the default for a 3rd person project. But here’s a tuut:

https://www.youtube.com/embed/Wm21RRSQ-sg?feature=oembed&wmode=opaque&list=PLkoVGotZWNRQaAmjSvENKuDQKzuj9LG78

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8c3a21d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8c3a21d4](https://forums.unrealengine.com/u/anonymous_user_8c3a21d4)\
**Post date:** [August 29, 2019, 9:50pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/5 "2019-08-29T21:50:55Z")

</div>

Hey, I checked the video, but was still wondering if its possible to rotate the camera with character movement without there being a camera attached to a Character Blueprint? I’m asking this since I have a specific camera set up with the editor level for both characters instead of the character bp.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 29, 2019, 10:01pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/6 "2019-08-29T22:01:52Z")

</div>

You can do it any way you want of course. But you’ll need to write the code to make the camera track the player, which will be kinda tough, as the player can do anything they want. I think you’ll end up basically writing your own version of a spring arm 🙂

In any case, you can keep your camera setup, but ‘blend’ to the 3rd person spring arm cam when it suits you, and then back to one of your ‘dojo’ cams. Explained here:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/9/1c988635d52408791e915c0e51489c9ba9154595.jpeg "HTF do I? Change Cameras in Unreal Engine 4 Blueprints") ](https://www.youtube.com/watch?v=uW86ZGxesmc)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8c3a21d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8c3a21d4](https://forums.unrealengine.com/u/anonymous_user_8c3a21d4)\
**Post date:** [August 30, 2019, 5:54am UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/7 "2019-08-30T05:54:39Z")

</div>

I’m using the Third Person template, but I’m not using the default Third Person game mode. How can I get reference to the the 3rd person spring arm on the level blueprint? Or in other words, how do I add get “Get player character” and insert it into the “new view target” socket? I called up the “Get player character” on the graph and inserted it into the “new view target” socket and camera is not rotating. What am I missing?

My character also doesn’t have the default third person camera that causes the camera to rotate when moving. Is it possible to add one back? Thank you 🙂

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 30, 2019, 7:16am UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/8 "2019-08-30T07:16:08Z")

</div>

The view target stuff is just for swapping cameras, it wont do anything about the camera following the character. I’m just recommending it as a way to switch easily between your dojo cameras and a 3rd person cam.

As for using a spring arm to follow your character, how about:

> **[Using Spring Arm Components](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/UsingCameras/SpringArmComponents/)**
>
> The Spring Arm component is used to automatically control how the camera handles situations where it becomes obstructed.

Or, you can always just grab a new 3rd person char from the modes panel in the main editor window.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8c3a21d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8c3a21d4](https://forums.unrealengine.com/u/anonymous_user_8c3a21d4)\
**Post date:** [August 30, 2019, 7:40pm UTC](https://forums.unrealengine.com/t/how-do-i-make-the-camera-rotate-and-follow-the-players-direction/454543/9 "2019-08-30T19:40:08Z")

</div>

Wow, Ocean, Thanks a lot your help, I really appreciate it! 🙂

I’m going to give it another try by today and if I happen to run through another issue, I’ll let you know.
