RAIN AI - Enemy shoot player
Hi guys,
I am currently a newbie to RAIN AI, but after searching for various tutorials I could not understand how to detect a player and shoot it.
Basically I did actually manage to detect the player, but then I got no idea how to raycast and shoot him. How can I create a variable on the detection behaviour tree, and call it from C#, so if detect is true, I will shoot the enemy?
Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612121718im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to get variables of a behavior tree with RAIN AI 0 Answers
AI assets... yea or nay 2 Answers
Checking when two triggers intersect 1 Answer
Endlessly Spinning Drone 1 Answer
Player Collision with the bullet 0 Answers