How can I detect a collision between the main character and an array of actors?

Hi all

I’m just testing some things on UE.

I have an array of actors and I wanna check if one of these actor is hit by the main character(that is controlled by me).

Can you give me any suggestions?

Probably its easy to do,but I’dont know very well UE.

Thanks

Hi man , from your hit event , pin out the “Other” voice , set up a foreachloop , pin in your array . then check one at one , if the actor you hitted ,is == to the one you are checking in the loop.

You can use also the loop with break, if you dont mind to find them all but just quit when you find one.!

With your help I’ve solved the problem.
Thank You man :slight_smile:

You are welcome :slight_smile: take a moment to accept the answer !