hello
I'd like to ask if there's any way to know if a player is looking at a brick. Thanks for helping me!
Have a good day
hello
I'd like to ask if there's any way to know if a player is looking at a brick. Thanks for helping me!
Have a good day
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
One approach I can think of is if the camera is at a hard-stuck zoom, you can calculate the angle that the camera's CFrame's lookvector makes with the direction of the target brick. If the angle's too large, then it's not in the field of view.
Im not a moderator but please show a script/code.Scripting helpers is not really a forum more of a place like stackoverflow
i don't have a code/script I ask how I could make that, What is the CFrame's lookvector ?