Function CastRay3D( from_x, from_y, from_z, to_x, to_y, to_z )

Cast a ray and get the closest hit on the ray

Returns 1 if there is a hit and 0 if not

NOTE: GetRayHit3D is used to read each hit


Related: GetRayHit3D CastRay3D_All CastRay2D CastRay2D_All GetRayHit2D