Fix Ai 2 or more in the same level CapsuleTraceByObject

Hello I need help because my AI no longer attacks the player when there are 2 or more in the same level

(If my AI there 1 in the level it work)

Hey @Donovplay59860!

Unfortunately there isn’t enough information here to be able to help you. Anything more you can give us would help- pictures would help the most!

Get us some more information and we’ll check back!

I dont upload my video for this problem because i am a new user

Don’t worry! You can upload it to youtube, and when it asks “Public, Private, or Unlisted” choose “Unlisted” and then just post the link! :slight_smile:

Yes this is the link to my video for this problem : https://youtu.be/obLk16n6MVg

Hey, awesome! We were able to see the problem.

However, what we really need is to see the code. There’s not much we can do just seeing the end result. :slight_smile:

Get us pictures of the code and we’ll have a much easier time.

(post deleted by author)

Here is my code for my AI hits the player
image

Hmm. Well there’s nothing wrong there. There is a lot more than one event graph for this, I’m sure. Does it use a Behavior tree?

Hey @Donovplay59860! Did you end up finding a solution?

Let us know for future answer seekers, or if you still need help!