Hello, how do i make a ray of light from the sun as an actor or an object that can be programmable?
The scene is the following:
i have a day and night cycle active in the map and a room with a window, what i want is for an action to trigger when the sunlight hits the player through said window.
how can i make that happen?
Similarly to how V-Rising’s shadow and light interact with the player
thank you for your help