Projects rays out from the given point to each line segment of the polygons.
If the rays intersect with the polygons, the points of intersection are returned in an array.
If no intersections are found, the returned array will be empty.
Each Vector4 intersection result has the following properties:
The x and y components contain the point of the intersection.
The z component contains the angle of intersection.
The w component contains the index of the polygon, in the given array, that triggered the intersection.
Projects rays out from the given point to each line segment of the polygons.
If the rays intersect with the polygons, the points of intersection are returned in an array.
If no intersections are found, the returned array will be empty.
Each Vector4 intersection result has the following properties:
The
xandycomponents contain the point of the intersection. Thezcomponent contains the angle of intersection. Thewcomponent contains the index of the polygon, in the given array, that triggered the intersection.