Does the raycasting method in this 2019 video still work?

Does this Raycasting method still work?

1 Like

That should work, but personally I prefer using WorldRoot:Raycast(position, direction) as it instantly returns a ray-cast result and doesn’t use a ray object.

Here is the wiki page: WorldRoot | Documentation - Roblox Creator Hub

2 Likes