How to choose what actor triggered an overlap event?

Hi,
sorry if this question has been already posted but is it possible to make something like “asplayerstartbeginoverlap”. Choose one actor for the overlaping. Sometimes my trigger box on my compound overlap some others compounds so it move in a wrong direction.
Thanks
Tom

Howdy!

If you are trying to determine what overlapped the trigger box, you could try tagging.

Take a look here:

If it’s something else, maybe post an image of your Blueprint so we can see what you are after.

-W

Thanks

i attached trigger volume around the box and when i overlap box x for e.g. it move on the x axis. I ve do the same think for the other direction ! But when i use two box in the game, the trigger volume of one box overlap trigger of another. So when i left click, the box goes in a wrong direction !

Looking at your Blueprint, are you trying to move the Lecubesimple 200 units along the X when the Left Mouse Button is pressed? Instead of using Get World Location, try using Get Relative Location.

Doing that will move it along the X, set it’s location to it’s current position and use that as the basis for the next movement call. Is that the issue that you are seeing?

-W

Thanks for your answer Wes, i use get relative location and it works pretty nice.
I change the collision preset too in my box to ignore world dynamic and i have no more overlapping problem.
Thanks again