Cast a ray and gets all hits on the ray
Returns the number of hits from the ray cast
NOTE: GetRayHit2D is used to read each hit
Related: GetRayHit3D CastRay3D CastRay3D_All CastRay2D GetRayHit2D