Bullets ricochet

I’m kind of new to unreal 4 and was wondering if someone could steer me in the right direction to make my bullets ricochet off walls. The game is top down so it would only need to ricochet in X and Y. I already have a blueprint for my bullet that controls the speed, damage and spread. Any help is appreciated

add a ‘projectile component’ to your blueprint for your bullet. There’s a tickbox in there to enable the projectile to bounce off collisions.

How would you create a random event so that it sometimes ricochets and sometimes destroys actor?