so im making a stealth game where the enemy will patrol around, enemy can see 110 angle in front of them, and the player need to avoid them and get to the finish point, player can hide behind object where the enemy cannot see. I have been looking for different solution but still nothing came up, need help with the script for raycasting.
↧