I would like to know if someone can give me an explanation about the blueprint “Get Overlapping Actors”.
I was thinking it will return only actors overlapping the “source”, but for the moment it return me something with no reason… so i’m a little bit confuse.
Here the use case. I have define a cube and on this cube i have a collision box.
I trigger the fonction on the “red Cross”. so according to my block, the other block overlapping my selected collision box should be the blue and the green only.
But you can see with a print that i found all block… so i don’t understand why…
The red, yellow, light blue, are not overlapping my selected component so why do i print them as well???
I found 5 items… but i expect to find only 2. Except if i don’t understand properly the function.
That’s why i’m asking that, can you enlight me on the understanding of this fonction?
I think maybe this only works at actor level NOT component level so will return ALL overlapping actors regardless of which collision box they overlap.
Only option would be create an exposed array inside your blueprint, then add and remove actors to this array based on which collision overlap they trigger (componentbeginoverlap and endoverlap) and you would need an array for each collision box.
It will make sense. i will try to do some test to know if doesn’t work at the component level. but if it was at component level (even if i think you right) why does it return me only 5 blocks? and not the one next column
so the other collision boxes are working? remove the one that isnt and replace it and make sure its not going the full width of the actor instead of just the left side. If the others work it suggests the collision box might be too wide and sticking out both sides?
show me your character heirarchy top left, also when you make it larger, make sure you move it, its expands from its centre, its possible you are drifting throught the box to otehr side and not realising
All block has that overlapping box… that’s mean the size of the actor it’s not the block itself… but the box + the overlapping box… increasing is size… so all block on the top reach now the collision box…
all collisions rescale if the actor or root component rescales, so make sure the collisions are set so they miss both its own box and just short of the next box edge, let me know how you get on