How to check if the player is looking at the sun, I want to check it so i can make a blinding effect, it shouldnt blind the player when they are looking at the sun behind a part / model
Sekuriyo
(Sekuriyo)
June 13, 2021, 12:05pm
#2
This will probably help you:
The main idea is that, as you could somewhat infer from the topic’s title, if a player makes contact with an area that is under direct contact with the sun’s light on, a script would run. E.g. if the player is in a building and leaves it, going out into an area where the sun would be able to “shine” on them, i.e. no shadows, then the appropriate script would run.
However, I can’t seem to think of a legitimate way to do this - I’ve thought of making it so there’s a model/folder that holds parts …
koziahss
(Agent_Invalid)
June 13, 2021, 12:08pm
#3
If you want a blind effect you could use stacked bloom for the effect. Or you can do above.