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

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

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.

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:

The SkyCubeRotation variable just uses a default value of .001; it’s not set anywhere.

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.