Hello, I have a projectile that I am shooting and I would like to have it explode when it hits a wall, right now I am using BSP for my simple map. The problem is that when I add a function by using
CollisionComp->OnComponentHit.AddDynamic(this, &AProjectile::OnHit);
I only get the OnHit function called when the projectile hits a static mesh, how can I get it to also call this function when it hits BSP.