What is the best and optimized way to know if a NPC can see a player or not?
(Multiple players)
Raycasting? Region3?
What is the best and optimized way to know if a NPC can see a player or not?
(Multiple players)
Raycasting? Region3?
Yes, use raycasting to detect if a player is in view of a NPC.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
How would you use Raycasting?