Ray casting from a logic tree. - Press Left or Right arrow keys to cast a ray; results print to the debug console.