#Raycast not working (include filter)

3 messages · Page 1 of 1 (latest)

surreal relic
#

Hello, I'm trying to make a script which checks where the player shoots a hockey puck and this is made with the use of raycasts, but for some reason I can't make my raycasts detect any objects. I tried making it print any type of instance it has collided with and it apparently doesn't make any contact with anything. The objects in the list are transparent anchored invisible objects located in workspace.

#

the script doesn't error and the rest of it works perfectly fine, it's just that the raycast doesn't return any instance

#

Raycast not working (include filter)