- Home /
Question by
Lionheart7 · Jul 13, 2018 at 02:00 PM ·
raycastaienemyenemy ai
Enemy raycast detection
I'm making an enemy AI and would like it to do this: Wander around untill the raycast detects no objects in between it and the player Chase the player until an object is between them then resume wandering.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612170635im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
enemy raycast to detect player 1 Answer
Kill character on impact 1 Answer
Why do the AI get caught on trees? 0 Answers
free roaming enemy ai 1 Answer