I am making a “thug” npc of sorts, and i want to raycast a circle around the npc, and if it hits a player the code is executed, but if there is a wall/object between the player and the npc, then the code does not run.
Is there any way to do this?
I am making a “thug” npc of sorts, and i want to raycast a circle around the npc, and if it hits a player the code is executed, but if there is a wall/object between the player and the npc, then the code does not run.
Is there any way to do this?
Why can’t it just raycast to any character within, say, 20 studs instead of doing over 100 raycasts.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.