# How do I change the default controller rotation limits?

**URL:** <https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480>\
**Category:** Character & Animation\
**Tags:** playercontroller, pitch, controller, roll, unreal-engine, question\
**Created:** [May 4, 2014, 1:44pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480 "2014-05-04T13:44:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ce64b3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ce64b3e1](https://forums.unrealengine.com/u/anonymous_user_ce64b3e1)\
**Post date:** [May 4, 2014, 1:44pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/1 "2014-05-04T13:44:14Z")

</div>

Seems that default PlayerController pitch and roll is limited between 90 and 270 degrees, I want to be able to rotate it and make full spins, is there some way to disable the limit?

PS. I´m using blueprints.

Thanks.

---

<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 4, 2014, 8:30pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/2 "2014-05-04T20:30:56Z")

</div>

Hey mdiaz,

Are you working out of one of the available Templates or is this happening for you using a PlayerController in a blank project?

-Steve

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ce64b3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ce64b3e1](https://forums.unrealengine.com/u/anonymous_user_ce64b3e1)\
**Post date:** [May 4, 2014, 8:40pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/3 "2014-05-04T20:40:03Z")

</div>

Both FPS template and also starting from scratch by myself. The controller assigned values for pitch and roll does not accept values below 90º or over 270º. I hope I´m wrong and this is not hardcoded because seems like a very FPS oriented solution to avoid look past your feets when you look down.

PS: Flying UFO example does not have this problem because does not use a controller instance as main primitive for the ship. Anyways looks like a ugly limitation and maybe UE should create an option to enable/disable this limiter behaviour.

---

<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 14, 2014, 10:25pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/4 "2014-05-14T22:25:02Z")

</div>

Hey mdiaz,

Sorry for the wait time on reply. What you will want to do to have a different set of axis limits is create a new blueprint based on **Player Camera Manager**. Within that blueprint is a section that lets you set Min and Max values for Pitch, Yaw, and Roll:

 ![6281-pcm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/9/689236f86d35ea31986a43072d01a481a8df6e19.png)

Once you make this new blueprint, to use it with your system you’ll need to edit the Defaults of your **PlayerController** and look for the **Player Camera Manager Class** option–set this to the blueprint you just made.

If you have any other questions about this setup, just let us know!

Thanks,

-Steve

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ce64b3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ce64b3e1](https://forums.unrealengine.com/u/anonymous_user_ce64b3e1)\
**Post date:** [May 14, 2014, 10:39pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/5 "2014-05-14T22:39:41Z")

</div>

Oh, nice to know it. It makes sense.

I already managed to solve my issue in an alternative way but this solution will help some other people for sure.

---

<div class="post-metadata">

**Author:** ![Jonbo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonbo\_1](https://forums.unrealengine.com/u/Jonbo_1)\
**Post date:** [June 4, 2014, 4:07am UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/6 "2014-06-04T04:07:57Z")

</div>

This solution doesn’t seem to work for me (on 4.1.1). It is having no effect changing those values. Unless there is something additional that has to be (un/)set that was not listed above (except setting the custom controller, which I have done, and is working up to that point)? I started from the blank template.

Also, mdiaz, I’m curious to what the alternative way was that you found?

---

<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:** [June 4, 2014, 6:58pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/7 "2014-06-04T18:58:25Z")

</div>

In your World Settings or Game Mode blueprint, you are pointing to your custom Player Controller to be used in your map, correct?

---

<div class="post-metadata">

**Author:** ![Jonbo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonbo\_1](https://forums.unrealengine.com/u/Jonbo_1)\
**Post date:** [June 23, 2014, 5:53pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/8 "2014-06-23T17:53:18Z")

</div>

Yes, I have. (Sorry for very late reply, I never got email notified?) I still haven’t figured it out, I just moved on to another problem.

---

<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:** [June 23, 2014, 8:23pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/9 "2014-06-23T20:23:24Z")

</div>

Is the problem you are running into that you can’t move past your new limitations or are you hitting gimbal lock?

---

<div class="post-metadata">

**Author:** ![Jonbo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonbo\_1](https://forums.unrealengine.com/u/Jonbo_1)\
**Post date:** [June 23, 2014, 8:33pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/10 "2014-06-23T20:33:47Z")

</div>

My problem is that the Player Camera Manager Class (that I have set) seems to have no effect at all (or at least the pitch/yaw/roll min and maxes). Or maybe I’m failing to understand something, since I’m slightly new to Game development concepts.

---

<div class="post-metadata">

**Author:** ![Jonbo\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonbo\_1](https://forums.unrealengine.com/u/Jonbo_1)\
**Post date:** [June 23, 2014, 9:57pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/11 "2014-06-23T21:57:27Z")

</div>

Can confirm no attributes are having an effect inside of the Player Camera Manager class.

To reiterate what I have done: (I’m now on 4.2.1)

1. Created custom gamemode and set it in both World Settings and Project settings → Maps & Modes
2. Created custom controller and set it ‘active’ inside the (custom) game mode settings above.
3. Created custom player camera manager and set it ‘active’ in the player controller settings and played with settings. (This is where things start to have no effect.)

The camera component is attached to a custom actor. So have I forgotten something?

---

<div class="post-metadata">

**Author:** ![Pelangi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pelangi](https://forums.unrealengine.com/u/Pelangi)\
**Post date:** [May 25, 2015, 1:23pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/12 "2015-05-25T13:23:38Z")

</div>

If you possess a `Pawn` and try to rotate it in any direction, you’ll be limited to 90 degrees in any direction. It’s a bug acknowledged by Unreal developers.

However, if you do the rotation in your custom `PlayerController` blueprint, you can freely rotate 360 degrees without limit. The rotation values (roll, yaw, pitch) can even exceed 360 degrees and it’ll work perfectly. So rotate the actor from within your `PlayerController` blueprint instead of your individual `Pawn` blueprint.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_53f225ba](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_53f225ba](https://forums.unrealengine.com/u/anonymous_user_53f225ba)\
**Post date:** [May 26, 2015, 10:58pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/13 "2015-05-26T22:58:12Z")

</div>

Hey Steve Allison, i came upon this post today because im trying to limit my player’s head rotation so he cant fully rotate at the neck and other unrealistic rotations. Can you explain in detail how i can get to the player camera manager settings? i cant figure out how to find that.

---

<div class="post-metadata">

**Author:** ![SVR33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svr33/32/906589_2.png) [@SVR33](https://forums.unrealengine.com/u/SVR33)\
**Post date:** [June 3, 2015, 1:29pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/14 "2015-06-03T13:29:26Z")

</div>

Hi Steve,

I’m having the exact same problem as Jonbo was. I’ve created a CustomPlayerController, set the min/max pitch to -60 and 60 and then set that CustomPlayerController as the PlayerControllerClass in the game mode settings but, still, I’m able to rotate pitch all the way to -90 and 90.

Any ideas?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c32e995e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c32e995e](https://forums.unrealengine.com/u/anonymous_user_c32e995e)\
**Post date:** [September 9, 2015, 8:42pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/15 "2015-09-09T20:42:57Z")

</div>

This should work if you want to apply vertical constraints

 ![57971-screen+shot+2015-09-09+at+23.26.25.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/9/879cbd801271025b8da74a69532ead4aa3888929.png)

---

<div class="post-metadata">

**Author:** ![Howie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Howie](https://forums.unrealengine.com/u/Howie)\
**Post date:** [October 28, 2015, 7:48pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/16 "2015-10-28T19:48:07Z")

</div>

Thank you! exactly what i needed

---

<div class="post-metadata">

**Author:** ![Taurian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Taurian](https://forums.unrealengine.com/u/Taurian)\
**Post date:** [January 11, 2016, 6:28pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/17 "2016-01-11T18:28:42Z")

</div>

This doesn’t seem to work in a custom Player Controller BP. It still stops at 90 degrees.

---

<div class="post-metadata">

**Author:** ![HyperThermal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HyperThermal](https://forums.unrealengine.com/u/HyperThermal)\
**Post date:** [July 7, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/18 "2016-07-07T21:04:09Z")

</div>

I just tried this, and it works like a charm! Thank you so much for showing your method on this subject.

---

<div class="post-metadata">

**Author:** ![Haoris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haoris](https://forums.unrealengine.com/u/Haoris)\
**Post date:** [September 16, 2016, 2:25pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/19 "2016-09-16T14:25:23Z")

</div>

It doesn’t work for me, I made the same logic in my controller blueprint but the values seams to have no effect at all. I tryied using the default camera manager and making my own camera manager but it’s still the same.

---

<div class="post-metadata">

**Author:** ![polygonfuture](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@polygonfuture](https://forums.unrealengine.com/u/polygonfuture)\
**Post date:** [February 22, 2017, 7:02pm UTC](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480/20 "2017-02-22T19:02:30Z")

</div>

EDIT:

I can verify that this works.

If you move your entire rotation script to your custom PlayerController event graph (do all of your rotation here), it works flawlessly.

[Next page](https://forums.unrealengine.com/t/how-do-i-change-the-default-controller-rotation-limits/282480.md?page=2)
