Godot 3.0: 2D Visibility with Ray-casting
Channel: KidsCanCode
Date: 2018-03-11

This tutorial shows how to use ray-casting (not the RayCast2D node) to create rotating turrets that can't see through walls. 

A written version of this tutorial can be found here:
http://kidscancode.org/blog/2018/03/godot3_visibility_raycasts/

Starting project:  https://kidscancode.org/blog/img/raycasting_demo_start.zip
Ending project: https://kidscancode.org/blog/img/raycasting_demo_finish.zip

Support me on Patreon: http://patreon.com/kidscancode