AI Improvement+Stealth

I improved the AI, it possess now an angle based field of view instead of a single line raycast. I visualized the field of view with a cone that also serves as a Trigger to only cast Raycasts when something enters it to increase efficiency.


With that I also implemented a small stealth mechanic. That if the player gets detected by an NavAgent it will try to ring an alarm which if he succeeds will make the player lose after a small timer runs out.




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s