# Best solution for Set/Actor Location gimbal lock at 90°

**URL:** <https://forums.unrealengine.com/t/best-solution-for-set-actor-location-gimbal-lock-at-90/2718699>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [April 29, 2026, 2:19am UTC](https://forums.unrealengine.com/t/best-solution-for-set-actor-location-gimbal-lock-at-90/2718699 "2026-04-29T02:19:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davi1521](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@davi1521](https://forums.unrealengine.com/u/davi1521)\
**Post date:** [April 29, 2026, 2:19am UTC](https://forums.unrealengine.com/t/best-solution-for-set-actor-location-gimbal-lock-at-90/2718699/1 "2026-04-29T02:19:16Z")

</div>

I’ve run up against the issue where rotating my skybox eventually it freezes up at 90°. I tried adding a rotating movement component but the actors rotation doesn’t seem to increase as smoothly as it does with the blueprint nodes.

Just wondering what everyone’s favorite ways to solve this issue are

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [April 29, 2026, 3:27am UTC](https://forums.unrealengine.com/t/best-solution-for-set-actor-location-gimbal-lock-at-90/2718699/2 "2026-04-29T03:27:14Z")

</div>

We’d need to see your code but I suspect you’re just adding to the float value of rotation. It’s better to actually make a rotator.

---

<div class="post-metadata">

**Author:** ![davi1521](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@davi1521](https://forums.unrealengine.com/u/davi1521)\
**Post date:** [April 29, 2026, 2:03pm UTC](https://forums.unrealengine.com/t/best-solution-for-set-actor-location-gimbal-lock-at-90/2718699/3 "2026-04-29T14:03:36Z")

</div>

The problem persists even if you use a rotator. It’s a bug with the add/set rotation nodes; they can only move an object from -90 to 90 degrees rotation (180 degrees).

This is my code as I have it now, but it’s been through half a dozen or more iterations and they all have the same issue:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/5/955d479fab5d693e40081754498bb12f957f4b3b.png)The SkyCubeRotation variable just uses a default value of .001; it’s not set anywhere.

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [April 29, 2026, 3:15pm UTC](https://forums.unrealengine.com/t/best-solution-for-set-actor-location-gimbal-lock-at-90/2718699/4 "2026-04-29T15:15:42Z")

</div>

Yep so instead of adding the floats try using the combine rotators node. I’m sure I’ve done it in the past and it worked but I can’t test now.
