UE5 V-Rising day night mechanics tutorial

Hello, i would like to know how does the light and shadow affect the player in vrising, i am making something similar but can’t make the light an interactive object.

can anyone help?
Thank you

I haven’t played the game, however, what you would need to do generally is firstly create a Day and Night system (loads of tutorials online, just search “UE4 Day/Night cycle tutorial”). Then, depending on what you want to effect at night time, you would create a variable in your player to let the game know it’s night type or day time, and customize your code based on that.
For example, your day and night system would likely be it’s own blueprint. You would probably create a reference to the directional light actor and when it’s rotation value is within a specified range, you could set a boolean of “IsItNightTime?” to true, otherwise, set it to false. Then from any actor you like, you could reference your Day and Night blueprint, get the “IsItNightTime” boolean, and change whatever stats you want accordingly.

From your question though, it sounds like you’re still very new to game design with UE4, so I might suggest you check out some awesome tutorial channels on YouTube like “Tesladev”, “Matthew Palaje” and “Mathew Wadstein” so you can learn the basics.