rayCastPolygon

expect fun rayCastPolygon(input: RayCastInput, polygon: Polygon): CastOutput

Ray cast versus polygon shape in local space. Initial overlap is treated as a miss.