I’ve recently been playing a lot of breaking point! I decided it might be a fun project to do some sort of Ai system such as you find in breaking point, where if a guard sees you, he/she will become suspicious. The problem is, I’m not sure how I would check if the guard can actually see the player. At first I thought of having a part attached to the guard with a script that triggers when a player touches the part. The problem with this is that the part would detect the player through walls.
I need a simple way of going about this if there is a way. If I’m right in saying it has something to do with raycasting?
Thanks for reading ![]()