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

is there a way to detect if a brick is being watched by a player?

Asked by 6 years ago

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

0
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. ScrewDeath 153 — 6y
0
Im not a moderator but please show a script/code.Scripting helpers is not really a forum more of a place like stackoverflow RoccoAttackYT 8 — 6y
0
i don't have a code/script I ask how I could make that, What is the CFrame's lookvector ? sheppard929 9 — 6y

Answer this question