I have a SpotLight, and i want it to follow the sun. I tried everything, and i couldn’t add a lens flare to the sun, so i am running out of ideas. I realised that i could just make a script that would make an object follow the sun. But i have a problem, the sun isn’t in the game. How can i track the sun’s position? How can i make an object actually follow the sun? Could someone explain me if this is possible and how could i do it? Many thanks.
which sun do you mean? the real sun? in realtime? and what does the lens flare have to do with it?
if you are making a day/night cycle thing check this out maybe it comes in handy.