ActorBeginOverlap only triggering for one actor

First of all I should mention that Im a beginner, so any advice is appreciated!

I’m creating a simple Pong game and am implementing the ball (BP_Bola) collision with the wall (BP_Parede). The way I have it set up is by checking if the ball is overlaping the wall and then calling a function to apply the ball movement logic. The movement logic is working but I cant get the wall’s ActorBeginOverlap event to trigger.

I had all the functionality for the ball collision on the ball blueprint, and everything was working well, but I decided to move each collision scenario to their respective BP, so if the ball hits the wall, the wall should take care of bouncing the ball off it, etc…

Only the ball’s overlap event is triggering, not the wall’s.

Below you can see each BP and the meshes properties.

Wall:

Ball:

My guess is that you are not familiar with Casting.

You are using casting to access a function in a certain blueprint, but that is not why you would use casting.

When you use casting you are basically asking is the overlapping actor of type BP_Bola?

If the overlapping actor is not of that type then the cast will fail.

But you still need to access that function, therefor what you need to do is save that BP_Bola in a variable, and next time you can call that function from the variable directly. On event begin play, get all actor of class BP_Bola, get the element 0 (assuming you only have one BP_bola in your scene) and save it to a variable, and voila you can call the function with out using a cast.