I can't make my Blue Print Interface working

Hi,

I’m new to game programing so I’m trying to make a Pong game,

I manged to make my ball bounce when it hit the player using the “projectil Movement” but I want my ball to deviate from its direction when the player moving Up or Down, so I Made A BPI “BPI_OnHit” and implemented to my “BP_Balle” and put a simple “Print String” To see if it’s working.

Both in the “BP_Player” and “BP_Balle” the collisions form the “Collision Box” are set as Block all dynamics

And in my “BP_Player” I call the “OnHit Event” from the BPI in the “OnActorHitEvent”

But nothing is printing when the ball hit the player, and I don’t see what I’m doing wrong here.

thank you

your binding there is circular, it’ll never call itself.

there is already an inbuilt onhit event or bind on begin play

Thank you,

It’s printing the message ^^

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.