sub GetRayHit2D( index, ByRef spr_id, ByRef x, ByRef y, ByRef normal_x, ByRef normal_y )

This function will get the collision point and the normal of a ray hit.

NOTES:


Related: GetRayHit3D CastRay3D CastRay3D_All CastRay2D CastRay2D_All