GetSunDirection

With GetSunDirection(), I’m guessing it doesn’t account for the camera rolling I guess, I tried a solution where Id put an offset over the output of GetSunDirection based on roll but it didnt work, is there some kind of solution?
For context I’m making an ace combat game and the plane can be upside down without pitching or yawing first

We have no idea what you’re trying to do so we can’t help much. GetSunDirection gets the direction the sun is facing from 0,0,0. If you’re trying to tell if the player is looking at the sun, check out this:
Is their A way To check If the User Is Looking At The Sun, like if their camera is Pointing to it - #3 by Imperiector