So I managed to state that, at certain distance between the Flying Pawn and a piece of wall, it would print a string (just for testing purposes). Now I have 2 more questions:
1- I did this in the Level Blueprint and I’m not sure if it’s right. I tried to make it work from the Fying Pawn BP but couldn’t get a reference to the wall.
2- How could I get the orientation of that object passing by? I mean, I’d like to know if it’s passing by through the left or right.