[Zilch] Broad Scan
Function used in Relic for grapple beam's auto-target functionality. Searches for the best viable grapple point within player's viewing range using a volume cast, then checks for obstructions with a raycast.
NOTE: Original script was written in Zilch. This file was set to .js extension in Gist for proper text markup.