Function GetLinePlaneIntersection(ByRef line_point, ByRef line_direction, ByRef plane_point_1, ByRef plane_point_2, ByRef plane_point_3, ByRef intersection)
This function calculates the intersection between a line and a plane in 3D space and stores the result in intersection
Parameters:
-
line_point - An array with an (x,y,z) point representing the start of a line
-
line_direction - An array with an (x,y,z) point representing another point on the line in the direction its moving
-
plane_point_1 - An array with an (x,y,z) point representing a point on a plane in 3D space
-
plane_point_2 - An array with an (x,y,z) point representing a point on a plane in 3D space
-
plane_point_3 - An array with an (x,y,z) point representing a point on a plane in 3D space
Returns true if intersection point is on the plane