Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I know if a player sees a part?

Asked by 6 years ago

How can I find out if the part is in the player's field of view and execute some code?

1 answer

Log in to vote
0
Answered by 6 years ago

You could try using something called Raycasting. Although I have little knowledge about it, I hear many people say to use this in situations related to your question. Here’s a link that’ll lead you to what Raycasting is :

http://wiki.roblox.com/index.php/Raycasting

Ad

Answer this question