A test project to see if I can work raycasting. Red guy points to the cursor, and use arrow keys to move the blue guy. Press E to change between ray and cone mode.
May be used in a future stealth game. If you use cone mode, it is recommended to use turbowarp: https://turbowarp.org/618671809