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

What is the best way to make a NPC's "Line Of Sight" or "Field of View" or "Vision" ?

Asked by 7 years ago

What is the best and optimized way to know if a NPC can see a player or not?

(Multiple players)

Raycasting? Region3?

1 answer

Log in to vote
0
Answered by 7 years ago

Yes, use raycasting to detect if a player is in view of a NPC.

0
How would you use Raycasting? OldPalHappy 1477 — 7y
Ad

Answer this question