How can i check if the point is within/inside certain area?
How can i check if the point is within/inside certain area?
I am going to check the game object (player) if it is within the area which is irregular shape, how can i do it? As i know, i can use Physics Over lap Sphere to check the collier is within it, but it seems not enough for me. thank you
Comment
why is not enought? because is a sphere? thats the easiest way of doing it, it is always the same irregular object? the easiest way of doing it if its always the same irregular body is to activate whenever you are checking if its inside an object with a collider exactly the same as the irregular objetc and check for triggerneter with it.