Files
RCBASIC4/doc/files/castray3d.txt
2026-02-26 15:33:51 -06:00

12 lines
304 B
Plaintext

#title CastRay3D [RCBasic Doc]
#header 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
#ref GetRayHit3D CastRay3D_All CastRay2D CastRay2D_All GetRayHit2D