SetUp Explosion Component
Here you will understand all the variables and the functions of each one!
If you have a barrel and want to make it explode when hit by a projectile, or something similar. just add the "Explosion" component and you can rename it to anything, you will see that the component will have a variable, called "Explosion Profile", which must be filled with a data asset:

By default, we already have an example data asset, which works well:

If you don't see it, just select show plugin content, as in the image below:

Okay, now you just need to use this function to make the explosion happen:

If you want to customize the explosion just duplicate the data asset pattern and change the variables to anything you want, the variables are these:

After configuring this, you need to implement an interface on the objects you want the explosion to affect, called "Damage_Interface", which will provide you with a function called "OnExplosionHit", in it there are two "Damage" entries of type float that mark the damage and " ExplosionSource" of type Actor that marks the explosion object. You can put the “Apply Damage” function that will already apply the damage, something like this:
Last updated