Mehdi
Member
Hello,
Does anyone know how to write a script that checks whether a point is in collision with a line?
GM has the function
, but that one looks for an object in contact with a line. Whereas, the thing I want is checking the line against a point.
Furthermore, there are functions :
,
and
But there isn't any for point_in line.
Could you please help me?
Does anyone know how to write a script that checks whether a point is in collision with a line?
GM has the function
GML:
collision_line
Furthermore, there are functions :
Code:
point_in_circle
Code:
point_in_triangle
Code:
point_in_rectangle
Could you please help me?