# \[Help\]Trouble with player camera

**URL:** <https://forums.unrealengine.com/t/help-trouble-with-player-camera/438450>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, CPP, question\
**Created:** [November 28, 2018, 6:04am UTC](https://forums.unrealengine.com/t/help-trouble-with-player-camera/438450 "2018-11-28T06:04:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![StarLordTMTC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StarLordTMTC](https://forums.unrealengine.com/u/StarLordTMTC)\
**Post date:** [November 28, 2018, 6:04am UTC](https://forums.unrealengine.com/t/help-trouble-with-player-camera/438450/1 "2018-11-28T06:04:52Z")

</div>

Hello !

I am working on a player camera quite simple (I think ?). Here’s the idea:

1.The player look in front of him, camera is just behind (pictures of camera settings below the explications)

2.The player look a little bit up so the camera follow

3.The player look totally up, the camera is approximately under the arm

(Blue thing is the camera, red line is spring arm and yellow arrow is the way the player looking)

 ![260683-ue4help.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/9/a/69a6e423e26051eb76ebadb0709a3ce16f71da21.png)

The best exemple I can give you is the Fortnite camera type (And maybe the camera type of Gears of War but I’m not sure). Here’s what I have with my current camera (which is not what I want)

 ![260684-ue4help2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/f/11f74b84ae5119a4e3d0bec827dfac3dbb8c8f70.jpeg)

1.Camera looking front

2.Camera looking down

3.Camera looking up

The problem is that when we looking down, the camera go forward the player, and when we look up the camera go above the player

 ![260685-ue4help3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/f/f/4ff021b474bbd4b4d6a81565347279b4138993fd.jpeg)

Here is the settings. I don’t know what to say more. If you have any question feel free to ask

---

<div class="post-metadata">

**Author:** ![jozi341](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jozi341](https://forums.unrealengine.com/u/jozi341)\
**Post date:** [November 28, 2018, 6:15am UTC](https://forums.unrealengine.com/t/help-trouble-with-player-camera/438450/2 "2018-11-28T06:15:48Z")

</div>

Camera is not exacly on springArm but has some offset. In camera component set Location to 0,0,0 and instead of changing location of camera to change view position, change location of SpringArm because camera is always following springarm.

---

<div class="post-metadata">

**Author:** ![jozi341](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jozi341](https://forums.unrealengine.com/u/jozi341)\
**Post date:** [November 28, 2018, 6:37am UTC](https://forums.unrealengine.com/t/help-trouble-with-player-camera/438450/3 "2018-11-28T06:37:00Z")

</div>

Also if you want to set camera closer to or farther from character, instead of moving Camera or SpringArm, change “Target arm length” in SpringArm

---

<div class="post-metadata">

**Author:** ![StarLordTMTC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StarLordTMTC](https://forums.unrealengine.com/u/StarLordTMTC)\
**Post date:** [November 28, 2018, 7:11am UTC](https://forums.unrealengine.com/t/help-trouble-with-player-camera/438450/4 "2018-11-28T07:11:33Z")

</div>

Is that this that I have to set instead of the location of the camera ?

 ![260690-ue4help5.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/d/74d3ad7e8fe9c4218ad87a402ef6656c2a1db847.jpeg)

When I look up/down the camera still does this (1) and when I look around (2) the camera change and go away from the player and turn around him (I try with and without Pawn rotation on the spring arm). I don’t know where the problem can be

 ![260711-ue4help6.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/e/3fe06bc171ac4438fdd5eb4ecf4329bb0f94da00.png)

---

<div class="post-metadata">

**Author:** ![jozi341](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jozi341](https://forums.unrealengine.com/u/jozi341)\
**Post date:** [November 28, 2018, 7:27am UTC](https://forums.unrealengine.com/t/help-trouble-with-player-camera/438450/5 "2018-11-28T07:27:10Z")

</div>

No, you need to change values in Transform panel. To increase height of camera, increase the Z value

 ![260705-springarm.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/c/eac58ae5c8e27dccc86b4ffcd94c4351df3798d3.jpeg)

---

<div class="post-metadata">

**Author:** ![StarLordTMTC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StarLordTMTC](https://forums.unrealengine.com/u/StarLordTMTC)\
**Post date:** [November 28, 2018, 7:38am UTC](https://forums.unrealengine.com/t/help-trouble-with-player-camera/438450/6 "2018-11-28T07:38:31Z")

</div>

Nice, it works just perfect, thank you so much for the help !
