# Why is GetControlRotation returning zero?

**URL:** <https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870>\
**Category:** Blueprint\
**Tags:** control-rotation, unreal-engine, question, Blueprint\
**Created:** [November 1, 2019, 8:51am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870 "2019-11-01T08:51:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToxicEboLa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ToxicEboLa](https://forums.unrealengine.com/u/ToxicEboLa)\
**Post date:** [November 1, 2019, 8:51am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/1 "2019-11-01T08:51:27Z")

</div>

Hi,  
I’ve been working on a game for over month and I’m trying to implement the head rotation using control rotation and bone transform. However the get control rotation doesn’t seem to read my mouse movement and returns zero no matter what. I tried manipulating all the settings in MovementComponent but still the node doesn’t output any valid data other than zeros.

 ![291559-screenshot-8.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/c/f4c9f4f84ae7e9d50ac0b37eb365fe7d5457c5a5.png)

Screenshot below shows the value when I run the above nodes in a tick function.

 ![291572-screenshot-10.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/f/86fd25bcec944e735a3cfc50ee2d598580aa2997.png)

Please help out.

---

<div class="post-metadata">

**Author:** ![GEODVS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GEODVS](https://forums.unrealengine.com/u/GEODVS)\
**Post date:** [November 1, 2019, 9:58am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/2 "2019-11-01T09:58:30Z")

</div>

I think you’re playing in Simulate.

---

<div class="post-metadata">

**Author:** ![ToxicEboLa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ToxicEboLa](https://forums.unrealengine.com/u/ToxicEboLa)\
**Post date:** [November 1, 2019, 10:15am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/3 "2019-11-01T10:15:53Z")

</div>

Nope, I played in selected viewport and in new editor window with the player possessed. I can’t find a reason why this shouldn’t be working like this.

---

<div class="post-metadata">

**Author:** ![GEODVS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GEODVS](https://forums.unrealengine.com/u/GEODVS)\
**Post date:** [November 1, 2019, 11:17am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/4 "2019-11-01T11:17:07Z")

</div>

Have you tried to debug your BP? Meaning having the view port to one side and previewing the flow of execution wires?

 ![291581-debug.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/8/8f847e9c70cfa6db04c6e9f4a6eef68c2c94d5d1.jpeg)

---

<div class="post-metadata">

**Author:** ![ToxicEboLa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ToxicEboLa](https://forums.unrealengine.com/u/ToxicEboLa)\
**Post date:** [November 1, 2019, 11:25am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/5 "2019-11-01T11:25:51Z")

</div>

Yess, I just did and unfortunately every node is firing but the problem still persists.

 ![291583-screenshot-12.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/b/58bb43a4592e60f7ad21c7ab431cf7457c6c71fd.jpeg)

---

<div class="post-metadata">

**Author:** ![GEODVS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GEODVS](https://forums.unrealengine.com/u/GEODVS)\
**Post date:** [November 1, 2019, 11:33am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/6 "2019-11-01T11:33:50Z")

</div>

Strange… I thought the print string may have been coming from another source.

---

<div class="post-metadata">

**Author:** ![ToxicEboLa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ToxicEboLa](https://forums.unrealengine.com/u/ToxicEboLa)\
**Post date:** [November 1, 2019, 11:38am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/7 "2019-11-01T11:38:53Z")

</div>

yess, I’m gonna try creating a fresh project and try again cus there’s no logic behind this error or atleast I can’t find one.

---

<div class="post-metadata">

**Author:** ![ToxicEboLa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ToxicEboLa](https://forums.unrealengine.com/u/ToxicEboLa)\
**Post date:** [November 1, 2019, 11:52am UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/8 "2019-11-01T11:52:54Z")

</div>

Update. I did create a new blueprint project and added a single character blueprint with one node which is to print the control rotation and it still prints zero. This is gonna make me believe that my issue is engine level or I might’ve missed something.

---

<div class="post-metadata">

**Author:** ![GEODVS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GEODVS](https://forums.unrealengine.com/u/GEODVS)\
**Post date:** [November 1, 2019, 12:09pm UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/9 "2019-11-01T12:09:16Z")

</div>

Perhaps updating to 4.22.3?

---

<div class="post-metadata">

**Author:** ![ToxicEboLa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ToxicEboLa](https://forums.unrealengine.com/u/ToxicEboLa)\
**Post date:** [November 1, 2019, 12:14pm UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/10 "2019-11-01T12:14:28Z")

</div>

The version I’m running is 4.22.3. The weird thing is I can still use AddcontrollerPitchInput and when I print out the values of rotation it works fine. The issue shows up when I don’t update my ControllerRotation.

---

<div class="post-metadata">

**Author:** ![GEODVS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GEODVS](https://forums.unrealengine.com/u/GEODVS)\
**Post date:** [November 1, 2019, 12:27pm UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/11 "2019-11-01T12:27:43Z")

</div>

I reckon the culprit maybe in here by the looks of it.

 ![291588-playermovementparams.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/9/a29a4391536c4ba387afda63df45c09833b475f2.jpeg)

---

<div class="post-metadata">

**Author:** ![ToxicEboLa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ToxicEboLa](https://forums.unrealengine.com/u/ToxicEboLa)\
**Post date:** [November 1, 2019, 1:33pm UTC](https://forums.unrealengine.com/t/why-is-getcontrolrotation-returning-zero/457870/12 "2019-11-01T13:33:05Z")

</div>

Hmm not really because that’s just a custom event that sets up some enums, also I did mention that I made a fresh new project to check if this problem was there and it was.
