Download

Issue with get overlapping actors loop

I’m having a little issue with my get overlapping actors. I’m filtering by BP_Enemy_Projectile_01, and my array is saying the display name of the overlapped object is BP_Enemy_Projectile_01, but for some reason my array element does not equal BP_Enemy_Projectile_01. Any ideas why this is occuring?

https://cdn.discordapp.com/attachments/479798946793783307/737705780756742214/unknown.png

I can do it dirty by just checking if the display name is equal, and this is returning true, but I’d like to understand what I’m doing wrong.

https://media.discordapp.net/attachments/479798946793783307/737706908626059274/unknown.png

YourObject== Object as never been reliable as far as I experienced it.
I suspect, it is comparing a Base_Object against an Instance_Object and return false… but I’m no guru.
Instead use : GetClass == YourObjectClass, that works 100%.