Get Sun to Follow Directional Light During Day/Night Cycle.
Ok, so i have tried to figure this out a bit more and think i have something... the directional light cycles and you can see it with lighting changes... however the actual sun on the sky sphere doesnt move. When i hover over the 'Directional Light actor ' property on the sky sphere, it says a description but i cant tell whether it will work... Anyone have any ideas on how to move the sun in the sky to follow the directional light?
Thanks, any more help would help.
Heres some pictures if it helps.
asked Mar 26 '14 at 09:32 PM in Blueprint Scripting
I just got it updating with a simple custom Day/Night BP. You just attach your Direct Light (Set to Movable) and BP Sky Sphere to the two varibles and drop it into your level and boom, updating shadows w/ moving sun along with the nice sky sphere.
Hope that works for ya!
answered Mar 27 '14 at 06:05 AM
I am currently looking into this as I have done the sun already moving across the sky the new thing to notice is that the skysphere is actually a blueprint and not just a sphere.
I am writing a tutorial and video which you can follow I want to make it complete with possibly using their skyblueprint example.
So the current point now is to either adjust the blue print or put a static mesh in place of it with a sky material you will find that if you delete the BP_Sky_sphere from the level you should see your light moving.
answered Mar 26 '14 at 09:53 PM
Ok if you are working in a level blueprint all you need to do is place a reference to the skysphere in there and then wire off it and there should be a UPDATE SUN DIRECTION
answered Mar 27 '14 at 02:20 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here