# \[bug?\] Actor relative pitch rotation stuck in 90 degrees

**URL:** <https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557>\
**Category:** Community & Industry Discussion\
**Tags:** relative, pitch, rotation, bug, unreal-engine, bug-report, question\
**Created:** [August 9, 2014, 6:55pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557 "2014-08-09T18:55:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SwiftIllusion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SwiftIllusion](https://forums.unrealengine.com/u/SwiftIllusion)\
**Post date:** [August 9, 2014, 6:55pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/1 "2014-08-09T18:55:41Z")

</div>

It seems that this bug which is stopping me from being able to make progress on my project still exists even after being mentioned in these various locations

> **[Rotating an actor locks up on pitch](https://forums.unrealengine.com/questions/35153/rotating-an-actor-locks-up-on-pitch.html)**
>
> Hi, i have setup a rock mesh(actor) to spin in place using delta time; it spins fine if i rotate it in the yaw or roll axis, but trying to spin it on the pitch axis locks up when it gets to around 90degrees. This shouldn’t be a gimble lock issue as i...

> **[How can I create a day/night cycle in a small world?](https://forums.unrealengine.com/questions/21168/pitch-limited-to-90-90.html)**
>
> Hey there, I was trying to create an automatic day-night cycle so I set up a small world in which there’s only a boxbrush, a directional light actor and a native skysphere blueprint. I set the directional light to be used by the skysphere as the...

> **[Rotation around the Pitch axis is bugged?](https://forums.unrealengine.com/questions/62202/rotation-around-the-pitch-axis-is-bugged.html)**
>
> Hi, I am making a simple Pickup actor and on the Tick function I want to rotate it with the FRotator(15, 30, 45) each second. I encountered a strange bug (The rotation around the Pitch axis locks after 90deg). I wan’t to do this via C++ so please...

> **[Roll, Pitch, Yaw rotations - Strange Behavior](https://forums.unrealengine.com/questions/62207/roll-pitch-yaw-rotations-strange-behavior.html)**
>
> Hi guys, I am rotating an object and I found a strange behavior. I manually set the rotation of the object in the scene so that the Local Coord System of the object is not equal to the World Coord System. When I rotate the object around the Roll(X)...

Local pitch rotation can be added above/below strange 90 lock, but that won’t work for me with how I’m trying to use it, so I’d really appreciate if this could be fixed or if possible also a functional alternative via blueprints could be suggested.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [August 11, 2014, 3:09pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/2 "2014-08-11T15:09:26Z")

</div>

Hello,

Thank you for your report. rotation lock is a known problem that we are working on fixing. It has been assigned to a developer to be resolved, but until then there is a known work-around in Blueprints that was described here:

> **[How can I create a day/night cycle in a small world?](https://forums.unrealengine.com/questions/21168/pitch-limited-to-90-90.html)**
>
> Hey there, I was trying to create an automatic day-night cycle so I set up a small world in which there’s only a boxbrush, a directional light actor and a native skysphere blueprint. I set the directional light to be used by the skysphere as the...

“One blueprint setup we have been able to use to create a day/night cycle is using a Timeline that modifies your directional light’s rotation with a Set Actor Rotation node. You can setup a float in your timeline that goes from 0 to 360 (or 0 to -360, depending on which axis you’re rotating around) and control how quickly it does that rotation within timeline itself. If you would like an example of what that would look like in a blueprint, let me know and I’ll provide a screenshot.”

If that does not help, could you please describe what you would like to accomplish so that we can find a better solution?

Thank you,

---

<div class="post-metadata">

**Author:** ![SwiftIllusion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SwiftIllusion](https://forums.unrealengine.com/u/SwiftIllusion)\
**Post date:** [August 12, 2014, 5:22am UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/3 "2014-08-12T05:22:48Z")

</div>

Thank you very much for your response. I did see that solution however I don’t think it would work for me because of how I want my character to rotate consistently beyond 360 degrees and be able to smoothly level out its rotation from any point. Appreciate knowing bug is still being worked on though :).

For anyone else who may come across this issue my work around was parenting object under 2 Utility\>Scene components in blueprint, and rotated one vertically locally and other horizontally relatively which allowed me to achieve a makeshift vertical relative result.

---

<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:17pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/4 "2015-05-25T13:17:40Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![Elijen\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elijen\_1](https://forums.unrealengine.com/u/Elijen_1)\
**Post date:** [June 22, 2015, 11:24am UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/5 "2015-06-22T11:24:36Z")

</div>

Mmmm. Bug still didn’t get fixed ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [June 22, 2015, 6:47pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/6 "2015-06-22T18:47:20Z")

</div>

Hi Elijen,

I’ve looked into report and over time it has had many changes and discussions. It is a very tricky thing to solve because it is a problem with math behind translating rotation to quaternion then back to rotation, but there are a few ideas of how to fix it.

---

<div class="post-metadata">

**Author:** ![Sweenus987](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweenus987/32/1198170_2.png) [@Sweenus987](https://forums.unrealengine.com/u/Sweenus987)\
**Post date:** [June 24, 2015, 6:36pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/7 "2015-06-24T18:36:46Z")

</div>

I can concur that it is still an issue, or at least, has become one again.  
What method could I use to work around this issue?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [July 2, 2015, 8:04pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/8 "2015-07-02T20:04:52Z")

</div>

That’s going to depend a great deal on what you’re trying to accomplish and how. I would suggest opening a new post in Blueprint Scripting section with as many details as you can provide, and community can help with that. For example, SwiftIllusion posted a workaround that works for him above.

Unfortunately, there is no fix to this bug without major changes to engine, and that isn’t likely to happen anytime soon.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cacd3de0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cacd3de0](https://forums.unrealengine.com/u/anonymous_user_cacd3de0)\
**Post date:** [January 13, 2016, 6:44am UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/9 "2016-01-13T06:44:37Z")

</div>

Still broken in 4.10.2

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0757868c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0757868c](https://forums.unrealengine.com/u/anonymous_user_0757868c)\
**Post date:** [March 6, 2016, 5:37pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/10 "2016-03-06T17:37:23Z")

</div>

Still not working in 4.10.4…This is happening to me when using AddRelativeRotation on a component. However if I use SetRelativeRotation it works.

---

<div class="post-metadata">

**Author:** ![DmitriNL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DmitriNL](https://forums.unrealengine.com/u/DmitriNL)\
**Post date:** [March 28, 2016, 8:48am UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/11 "2016-03-28T08:48:32Z")

</div>

I’m also having troubles rotating using UE 4.10.4. Pitch rotation stops around value of 90, this seems maximum value.

```

    void ARotatingActor::Tick( float DeltaTime )
    {
    	Super::Tick( DeltaTime );
    	FRotator Rotation = this->GetActorRotation();
    	Rotation.Pitch += 1;
    	this->SetActorRotation(Rotation);
    	UE_LOG(LogTemp, Warning, TEXT("Pitch: %f"), Rotation.Pitch);
    }

```

Is there a solution or maybe I’m handling rotation incorrect?

---

<div class="post-metadata">

**Author:** ![DmitriNL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DmitriNL](https://forums.unrealengine.com/u/DmitriNL)\
**Post date:** [March 28, 2016, 10:27am UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/12 "2016-03-28T10:27:28Z")

</div>

I’ve created following workaround in C++:

ADD TO YOUR .H FILE

```

#include "GameFramework/RotatingMovementComponent.h"

```

Add to your Class

```

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "C++ Components")
		URotatingMovementComponent *RotatingMovement;

```

ADD TO YOUR .CPP FILE

Add to your constructor:

```

RotatingMovement = ObjectInitializer.CreateDefaultSubobject(this, ("RotatingMovement"));	

```

(Make sure you add ‘const FObjectInitializer &ObjectInitializer’ && Super(ObjectInitializer)’ to your constructor)

And setup rotation and movement in BeginPlay event:

```

void ARotatingObjectActor::BeginPlay()
{
	Super::BeginPlay();

	// Do something to rotate
	RotatingMovement->RotationRate.Pitch = 360;
	RotatingMovement->RotationRate.Roll = 0;
	RotatingMovement->RotationRate.Yaw = 0;
}

```

Tick event isn’t needed anymore.

Good luck!

(PS. @FORUM-WEBMASTER There seems to be a styling bug in this forum post. code is not embed properly.)

---

<div class="post-metadata">

**Author:** ![Napoleonite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Napoleonite](https://forums.unrealengine.com/u/Napoleonite)\
**Post date:** [April 12, 2016, 8:57pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/13 "2016-04-12T20:57:57Z")

</div>

Still not fixed :(. I just ran into it as well using C++

[Roll, Pitch, Yaw rotations - Strange Behavior - Programming & Scripting - Unreal Engine Forums](https://answers.unrealengine.com/questions/62207/roll-pitch-yaw-rotations-strange-behavior.html) however fixed it.

---

<div class="post-metadata">

**Author:** ![markogonzalez84](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@markogonzalez84](https://forums.unrealengine.com/u/markogonzalez84)\
**Post date:** [May 25, 2016, 4:08pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/14 "2016-05-25T16:08:17Z")

</div>

Hi, I have same problem, diferent is that i dont work with code, any solution for BluePrint?

Thanks!

---

<div class="post-metadata">

**Author:** ![markogonzalez84](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@markogonzalez84](https://forums.unrealengine.com/u/markogonzalez84)\
**Post date:** [May 25, 2016, 4:08pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/15 "2016-05-25T16:08:36Z")

</div>

Hi, I have same problem, diferent is that i dont work with code, any solution for BluePrint?

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b86e8beb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b86e8beb](https://forums.unrealengine.com/u/anonymous_user_b86e8beb)\
**Post date:** [June 21, 2016, 4:28pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/16 "2016-06-21T16:28:20Z")

</div>

Still doesn’t fixed 4.12.3

---

<div class="post-metadata">

**Author:** ![B1TZ3R0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@B1TZ3R0](https://forums.unrealengine.com/u/B1TZ3R0)\
**Post date:** [August 13, 2016, 2:25pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/17 "2016-08-13T14:25:38Z")

</div>

This problem still in 4.12.5 there is a trello card to track status of this bugfix?

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [August 15, 2016, 1:23pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/18 "2016-08-15T13:23:11Z")

</div>

There is currently no way to fix this issue without making a major change to engine, and this is not something that we are looking into implementing at this time. In meantime, several workarounds exist as linked in above posts.

Have a great day!

---

<div class="post-metadata">

**Author:** ![Angius](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/angius/32/465528_2.png) [@Angius](https://forums.unrealengine.com/u/Angius)\
**Post date:** [September 25, 2016, 5:42pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/19 "2016-09-25T17:42:51Z")

</div>

25.09.2016, UE 4.13.0, issue still exists.

A workaround would be using AddLocalRotation instead.

---

<div class="post-metadata">

**Author:** ![Virtual\_Bones](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Virtual\_Bones](https://forums.unrealengine.com/u/Virtual_Bones)\
**Post date:** [April 16, 2017, 3:15pm UTC](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557/20 "2017-04-16T15:15:32Z")

</div>

Okay guys, I have found a fix , this worked for me :

 ![134441-helping.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/e/c9e32c3c18f61ca526fca97f568e1ce6e61f3feb.png)

][1]

[Next page](https://forums.unrealengine.com/t/bug-actor-relative-pitch-rotation-stuck-in-90-degrees/290557.md?page=2)
