Real time day and night cycle

Hi! I’m new to UE5 and for my game I want to add day and night cycle in real time, i.e. if there’s day in real world then it’d be day in-game as well and same for night. The in-game time would be connected to the system cpu clock. Is there a way to do that using blueprint or C++? As I cannot find any tutorial that could help me.

Thanks in advance!

With C++ it is possible to make

1 Like

You’d either need a plugin/asset someone made in the marketplace or do the implementation in C++. That said, lookup DateTime. There might be something there.

1 Like

Thanks, and I’d like to know more about the logic of script

Thanks for pointing me out in the right direction. I’ll get back to you in a while after researching this.

Kind Regards

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms