Day night cycle with solar time through sunsky

Hi there,
I have created a day-night cycle using Sunsky Actor, it is coordinated with solar time but I facing a problem with showing the time in the text with a widget slider. So please explain to me how I correctly bind the solar time to text in the slider.

Hi @kartik.marathe!

Luckily enough, Unreal has a great tutorial showing exactly how to do just that. Here is the link:

I hope the above solution works for you!

Yes, I’m aware of that video, but in this video, they haven’t shown how to blind (connect) with the slider’s text (solar time), making the slider show the day-night cycle time.

Hey @kartik.marathe!

So you are just trying to dynamically update the text for the slider? If that is the case, you would just need to get your time assign the value to a string variable. After that you would go into your text context and bind your text to your string. Here is an example using just the hours:

UE4Editor_AdMw3Yaoku

I hope the above solution works for you!

1 Like

Thanks its work :+1: