Hi.
I have GameTime variable as float from 0 to 24 to express daytime. I set the sun rotation by plugging the GameTime into a Map Ranged Unclamped function where InRangeA is dawn time at 6 and InRangeB is dusk time at 18. The OutRangeA is 0 and OutRangeB is -180 degrees.
Then I feed the result into thee Set World Rotation function into the Y (Pitch) pin, where the target is the Sun Directional Light.
This way, the sunrise is at 6am, and the sunset is at 18pm. And at midday (12), the sun is at the Zenit (when the pitch is at -90 degrees).
I want instead the sun to follow a more natural arc, where it doesn’t hit the Zenit, but its arc is lower.
How can I achieve it?
Thank you