I’m looking to create a system in which there is a rain effect on the screen if the player is outside of a building (not underneath any bricks).
I already have a rain system, but I’m unsure of how to check if the player is underneath a brick. I think it might have something to do with “Ray Casting”, but I am unfamiliar with it and don’t know where to start.
Is Ray Casting the best way to do this, and if so how does it work?
Thanks, ok_wannabe