Rotating an object 360 degree not 90

So I have a ring which I rotate 45° with each button click. See attached picture. This works fine until it hits the 90° mark. See Picture.

The problem is, unreal is not rotating from 0-360. After 90° it changes the x and z rotation to 180 and Y goes down from 45°, instead of being at 135°.
It is difficult to describe so I made a video weird.mp4 - Google Drive

In the video first I use the button and rotate the ring, the first 2 times rotation looks like it should. But after the third time the whole ring wobbles around and sets itself in a bad positon.
Then i use the event tick to show how the rotation is in unreal, at 90° Y-Pitch it does not go up to 91 it jumps to 45 and adds X and Z.
This is a huge problem for my function because in my function i alsways add 45° Y-Pitch and I normally would like to rotate the object 360° in total without it resetting.

Is there a way to change unreals way of rotating and make the object able to rotate 360° on one axis?

Try shortest path

image

Wow that worked. And I already planned so complicated solutions for it.
Big thanks!

1 Like