Today, we will talk about adding footstep sounds to materials.
First of all, create a Physics Material!
For this example, I will use metal.

I'll call it "MetalPhys". Double click this physical material and scroll to bottom.
Click on the blue arrow and select AronPhysicalMatProperty.

Then, click the black arrow to the left. Blue arrow again, select the only option.
Click on the black arrow next to this new entry.
Now, scroll to a sound cue in your content browser, highlight it, and click the green arrow next to it.

Double click your material, go back to content browser, highlight the newly created Physical Material, then click the green arrow next to the first "Physical Material".
Close the window, save changes, add floor with the material on it, launch the game, walk on it, tada!
References:
http://udn.epicgames.com/Three/PhysicalMaterialSystem.html
No comments:
Post a Comment