Greetings everyone!
I’m very new to game development so im currently learning many things throughout the course of my project (UE5), and recently i see myself with an issue that i have not been able to solve for the past few days.
Currently i am working on a day/night cycle for my project. The cycle itself is already made and works as intended. For context, i made 2 light sources, each one representing the sun and the moon. I also created a 3D mesh of the moon which is currently stationary.
My objective is to turn said 3D mesh into the light source. At the moment the light source that represents the moon is just a sun (appearance-wise) with 0.9 Lux in order to simulate night time, which i want to replace with my 3D mesh mentioned previously. Sadly i have searched alot for the past few days and i have found nothing that would help me achieve what i intend to do.
Can someone help me with this? Thanks in advance.