Hi, the sun stops rotating in the midday.
How can this be fixed?
Hey there @C0deSix! I’ve got a couple questions!
What version of the engine are you using?
When rotating the directional light, does the sun ever move any direction?
I’m using 5.2.1 version.
Yes, when I move the directional light the sun moves as it should, but stops at midday.
That’s odd! Originally I thought you may be experiencing Gimbal lock, but seeing your blueprint that’s not the problem as your node setup there works out of the box because it uses add instead of set.
Is the value it freezes at 90 or 180?
Freezes at -90
When I minimize the Unreal Engine, the sun continues to move up to 90 degrees and stops again
Hey @C0deSix!
So it looks like you have an ever changing amount you are adding to your rotation, which may be going to fast or zeroing out at max. Instead, have you tried just adding your cycle speed to your add actor world rotation? This should rotate smoothly for 360 as intended.
I hope the above is the solution you need!
Hey @C0deSix!
Checking in, was the above the solution you were looking for? Did you still need help correcting your sun?