SUN ANGLES IN BLUEPRINTS

Hello,

I made a widget to print in the hud the angles of the azimuth and elevation during a squencer cinematic animation, but if i get those values (azimuth and elevation) from the actor Sun Sky, I only get values from 0 to 99 and beyond that value starts over again.

The sun timelapse animation works fine, but for instace, the azimuth should go from 0 to 360º from North, but I only get values from 0 to 100.

The same odd behaviour occurs with the elevation values.

I’m using UE 5.4

I don’t know if it helps, but I’ve seen that unreal typically processes rotation between -180 and 180 degrees rather than 0-360

Solved! It was my fault!

In the widget, I reused a component “To Text (float)” and it was already set with min and max two integers… I changed the value of max = 3 and voilá.

I realized of the error when I calculated the altitude and azimuth values with math expressions and plug them into the “to Text” component, I was getting the same kind of odd behavior.

Many thanks

1 Like

Thanks, any tip is welcome for a UE rookie like me

1 Like

This is the result of the solar simulation of the sundial:

Any suggetions on how to improve the shadows or fix some issues are welcome!