How can i change day time to night by overlapping a trigger volume

i have a race car project I am working on in my class and I’ve wanted to change the time of day to night in one section of my landscape. How can create that effect.

Since 4.14 you can use “Lighting Scenarios” to light you scene. You can also use multiple lighting scenarios (and therefore multiple backed static lights) so you can switch between day, night, evening, morning etc as much as you want. In 4.14 is a bug which messes with some lighting scenarios in a packaged version, but this one is fixed in 4.15 so I would advice you to migrate your project to the newer version.

If you don’t want to use the lighting scenarios you could try to rotate or modify your directional stationary light, which would be your light source for the sunlight when you hit the trigger volume. You can either let it “jump” to a specific rotation or you can interpolate from one state to another to get a more smooth effect. But your light source has to be stationary or mobile, because this is dynamic lighting which will not work if you try to use a static light.