# How do i rotate my player in top down view without moving camera?

**URL:** <https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383>\
**Category:** Cinematics & Media\
**Tags:** rotation, top-down-template, unreal-engine, top-down, question\
**Created:** [May 15, 2014, 5:55am UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383 "2014-05-15T05:55:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Benchi](https://forums.unrealengine.com/u/Benchi)\
**Post date:** [May 15, 2014, 5:55am UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/1 "2014-05-15T05:55:03Z")

</div>

My issue is in my top down view i want to use the right stick on joystick to set the direction in which the player is looking. In my controller blueprint i was taking the inputs from stick creating a look rotation and setting the controller rotation. The problem with that is that the camera moves with the rotations. I guess it kind of makes sense since the camera is on a spring connected to player but i am not sure how to go about fixing the issue. Is there a way to get a static camera and still have it locked onto the player? Any suggestions would help. Thanks!

---

<div class="post-metadata">

**Author:** ![FEXTWOLF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FEXTWOLF](https://forums.unrealengine.com/u/FEXTWOLF)\
**Post date:** [May 15, 2014, 6:05am UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/2 "2014-05-15T06:05:25Z")

</div>

Try this out.

 ![6303-right_stick_look.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/f/28f098fa7a43d8ffe0b00fd841df5ae526414547.png)

---

<div class="post-metadata">

**Author:** ![Benchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Benchi](https://forums.unrealengine.com/u/Benchi)\
**Post date:** [May 15, 2014, 1:58pm UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/3 "2014-05-15T13:58:10Z")

</div>

Thanks for your answer but unfortunately it didn’t work. When i set actor rotation nothing was happening to my characters. So then I tried setting controller rotation which basically did what i said before moving the camera with the actor.

I do like your blue print better help reduced the number of nodes i was using. Is there possibly an checkbox or something i need to uncheck? Or maybe i have my character set up wrong.

---

<div class="post-metadata">

**Author:** ![FEXTWOLF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FEXTWOLF](https://forums.unrealengine.com/u/FEXTWOLF)\
**Post date:** [May 15, 2014, 3:29pm UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/4 "2014-05-15T15:29:41Z")

</div>

Are you using one of the pre-configured projects?

I am using a blueprint similar to how the player character is set up in the 3rd Person tutorials: [- YouTube](https://www.youtube.com/watch?v=_Y8ZOLGZQRM&list=PLZlv_N0_O1gaCL2XjKluO7N2Pmmw9pvhE&index=86)

---

<div class="post-metadata">

**Author:** ![Benchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Benchi](https://forums.unrealengine.com/u/Benchi)\
**Post date:** [May 15, 2014, 4:09pm UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/5 "2014-05-15T16:09:03Z")

</div>

The project was built from scratch but follows that tutorial. The only real difference is that my character blend space is 2d so that i could animate walking sideways/backwards too.

Tonight i may try moving camera to the level blueprint to see if that helps. I believe removing the camera from player may achieve what i am looking for but not sure how helpful that will be in long run.

---

<div class="post-metadata">

**Author:** ![Steve\_Allison](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Steve\_Allison](https://forums.unrealengine.com/u/Steve_Allison)\
**Post date:** [May 15, 2014, 8:31pm UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/6 "2014-05-15T20:31:51Z")

</div>

Hey Benchi,

The problem you are likely hitting is that if you are rotating the Actor (your Character) then you are actually rotating the Capsule component (root component) which your camera is attached to by default. Try changing your code to rotate your **Skeletal Mesh component** instead of the entire Actor.

-Steve

---

<div class="post-metadata">

**Author:** ![Benchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Benchi](https://forums.unrealengine.com/u/Benchi)\
**Post date:** [May 16, 2014, 3:56am UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/7 "2014-05-16T03:56:07Z")

</div>

Awesome thanks for your help that did the trick. I ended up getting the player character then the mesh then setting the relative rotation. Seems to work just need a few tweaks.

---

<div class="post-metadata">

**Author:** ![TheOnlyDoubleF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheOnlyDoubleF](https://forums.unrealengine.com/u/TheOnlyDoubleF)\
**Post date:** [May 16, 2014, 10:29am UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/8 "2014-05-16T10:29:04Z")

</div>

May be you should first set a “Set view Target with Blend” link to a “EventBegin” so you start directly with a top down camera that never change. This camera has to be in the scene not in the component. Just an idea.

---

<div class="post-metadata">

**Author:** ![asynts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@asynts](https://forums.unrealengine.com/u/asynts)\
**Post date:** [November 13, 2017, 5:43pm UTC](https://forums.unrealengine.com/t/how-do-i-rotate-my-player-in-top-down-view-without-moving-camera/283383/9 "2017-11-13T17:43:34Z")

</div>

I assume you are using USpringArmComponent for your camera:

```
SpringArmComponent->bInheritRoll = false;
SpringArmComponent->bInheritYaw = false;
SpringArmComponent->bInheritPitch = false;

```

Should do it.
