Quantcast
Channel: Answers for "Make AI walk around randomly until Player is Seen. (C#)"
Browsing latest articles
Browse All 4 View Live

Answer by vexe

I don't know about RAIN. But for randomly walking around, you could just create a couple of empty `gameObjects` pre-set their positions in your scene and maybe let your enemy store them in an array or...

View Article



Answer by SAE_Superman

Collision detection is your friend. Simply add a trigger collision volume to your characters. This way you can detect when characters enter, stay in or exit that "field of view". Inside the OnEnter,...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images