I used Raycasting to make a simple way of seeing if a part was in sight of a NPC, but if the middle of the part is obscured and nothing else, it still doesn’t think the NPC can see it. How would I make it so i can tell if any point of a part can be seen by an NPC?
you can’t. Not really anyways. You can get a better guess by casting to more points that have been spread out around the object and checking if any of the casts can see it, but it’s not going to be perfect.