Raycast wont return a position when it doesn’t hit anything,
I have a raycast gun so if a player aims to the sky no position is returned. I still want the direction the player shot in so i can make a visual beam effect appear, however, when i do cast the ray into the sky, the script stops at the ray position not existing and doesn’t let me check if it exists or not
tldr how do i check if a ray didn’t hit anything?