cool side project. Basically It makes a horizontal ray from the point to the right of the polygon. If it has an odd number of intersections, then its inside and colliding. If it has an even number, it is outside. Pretty simple algorithm tbh.