I’m going to give you a bit of the question for context. Him - 1. Father has a loop that determines certain behaviours he has. One of them is looking at you. To determine whether or not he should look at you, it’s not with RayCast. There’s a part that spans the whole room. If the player is within the boundaries of that part (and certain other conditions meet), then Father looks at the current player position
Me - Thanks!
Me - may i also ask, how do you check if the player is in the boundaries of the part that spans the room?
Him - For each coordinate (except y), check if the player position in that coordinate is bigger than the inferior limit of the part and smaller than the upper limit of that part