Hello,
so i have this problem with my boolean variable, here is my blueprint for some simple item, where after player enters “sphere area” (onComponentBeginOverlap) i will set my boolean variable canCollect to true, after that player can pickit up (click,if true and destroy actor where he clicked). The problem is if i have multiple same actors in view and destroy one of them the variable canCollect will reset on all Actors to false.
cliking on the second actor does nothing, sphere should be big enough but it does not work and variable is set to false after picking up. If i move out of sphere and go back then i am able to destroy the second Actor.
Does anyone have some tip how to fix it ?
I’m begginer in UE.
Thank you.