# How can I create a day/night cycle in a small world?

**URL:** <https://forums.unrealengine.com/t/how-can-i-create-a-day-night-cycle-in-a-small-world/278941>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 29, 2014, 3:28pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-day-night-cycle-in-a-small-world/278941 "2014-03-29T15:28:14Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [March 29, 2019, 8:15am UTC](https://forums.unrealengine.com/t/how-can-i-create-a-day-night-cycle-in-a-small-world/278941/17 "2019-03-29T08:15:27Z")

</div>

Still “broken” in 4.21 as well.  
It acts pretty randomly with sun rotation - following this tutorial

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Set the sun speed to 1, it gets stuck at 90.

Implementing the Sun Angle option mentioned above is actually slightly better in terms of figuring things out though, so while this is a bug, the work-around is actually beneficial to advanced coding/scripting…

including a quick snapshot of how this changes with that.

 ![272707-b24989f4b401b1da8bb45fe35c40cf5e.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/9/d19ff6d7d6e3aaf98b746d53d86c21682114b2c6.png)

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-create-a-day-night-cycle-in-a-small-world/278941)._
