Godot 3.0: 2D Visibility with Ray-casting
KidsCanCode
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 ... https://www.youtube.com/watch?v=lNADi7kTDJ4
2020-05-28
0.30930473 LBC
Copyrighted (contact publisher)
53093013 Bytes