Does anyone know how to line trace at the angle from character to the sun/lights direction while using the ultra dynamic sky plugin? I am trying to do this to detect if the player is in shadows or not for stealth gameplay with shadows. I am struggling to figure the method in blueprints to use, and what parts of ultra dynamic sky to use…
I have tried using a cast to the first UDS in the scene and getting the sun component from it, but when I try to trace to it from actor, it just goes diagonally downwards to the floor. I believe towards the world 0,0,0 position or center it rotates around maybe? I cant get it to just send an angle in the direction of the light… Would REALLY appreciate it, especially if you would be so kind as to show blueprints so I can better understand/visualize/learn. Thank you so much!!!