Help please! Day/Night Cycle
Hey, i have been trying to figure this out however i am struggling. So i started with a timeline on the level blueprint aswell as a moveable directional light, and added a float track, and changed some of the numbers. Then tried lots of different rotation nodes but i couldnt figure it out. Please Anyone can help! Theres some pictures of what i currently tried . Maybe i am very wrong and i new to this. Thanks.
ok for starters your directional light needs to be MOVEABLE.
Lets start with the light you are using as your SUN as an example. Place it in your level if there is already not one and then in the Details tab under MOBILITY change that to MOVEABLE.
The in your LEVEL BLUEPRINT drag the light in. From here you are on the right path and there a few different ways to do what you want and also how you want to see the effect.
Anyways start here and if you need more help I will be happy to help if someone else doesn't jump in before I check on here again.
answered Mar 25 '14 at 11:26 PM
I have created a tutorial on how to implement day and night cycle in unreal. posting it here because someone might find this useful. I have created another blueprint by extending the skysphere blueprint and the M_Sky_Panning_Clouds material is modified to add a moon as well.
Time of day system : https://youtu.be/5G7tqLMwTF0
Adding Moon to sky sphere : https://youtu.be/iLRDfj9K99w
Moon phases : https://youtu.be/_AJZk2yuA00
Lighting based on time of day : https://youtu.be/hpgNqbw6RZk
answered Dec 02 '18 at 02:31 PM
Set the Actors LOCAL Rotation ;)
answered Mar 26 '14 at 10:36 PM
I have a slight design for one, no pictures currently in at work bored out of my mind. The basic just is to have your event play begin node connect to your play on the timeline node, my timeline node is still under works but I plan to have a keyframe for every hour or two in game. Have the set pitch from your timeline, or whatever you may have called it in your timeline connect to a make rot node, connected to the pitch. The return value will be set to a set actor rotation node the target of which is your source of light, after words you would connect to whichever nodes you wanted, if you wanted to change the skypheres color or add on a different texture like stars or auroras, I'm still working on having a different sky pattern appear during specific keyframes, stil haven't quite got that down. If you want to just go through the bp_skysphere that's included you can connect the set node target of which will be the bp_sphere and that would be connected to the last node which update the bp_sphere. The target of the set node and the update node would be the sky sphere, that's about the extent of my knowledge, that should be a good base for what you need, I'm trying to get one working that will changed the clouds and light color tons more ominous grey during hours that would technically be night but haven't had much free time to dabble with that yet.
answered Mar 28 '14 at 04:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here