How to Use RayCast2D Nodes for Line-of-Sight Detection in Godot

Line-of-sight detection adds a layer of complexity to your game with a mechanism that lets characters or objects perceive their surroundings. You can use this feature for enemy AI behavior, player visibility mechanics, stealth gameplay, and more.



via MakeUseOf https://ift.tt/jPKhUce

Comments