Cory

View Original

Different Surface hit sounds

A lot of times in games we want to know the the kind of physics surface has been hit against. Imagine playing different sounds or particle systems depending on what the surface is that’s been hit.

In C++ it might look something like this.

In Blueprint it might look something like this.

If you aren’t seeing these Physical Surfaces, check that they are included in the project settings.

The Physics Material overide can be set at the mesh or material level. There’s another blogpost that goes into more detail about all that.