It now behaves the same as RayCast (3D). Fixed documentation accordingly and documented new configuration options. Supersedes and closes #20567. (cherry picked from commit 449fcc5a72)
449fcc5a72