I’m trying to make a BP scripts that plays sound at collision of an object, and this object is a basketball. I already have some mechanics that allows me to collide and grab/release the ball, now I want to add sound. I tried OnComponentHit and PlaySoundAtLocation, but it only works when my character hits it. When it is the ball hitting the player it doesn’t. Collision between statics meshes and landscape also do not have any effect, how to fix it?
- In the screenshot I used Print instead PlaySoundAtLocation.