Multiple footstep sounds on landscape
After watching this Tutorial and reading through THIS I set up foot steps oon my character. Now I'm asking how would I set up footsteps on a landscape with mutible textures applied and painted around. I have leaves, dirt, ice, and grass in my landscape material.
asked Jan 25 '16 at 10:58 PM in Blueprint Scripting
We are doing this through Physical Material. It has to be set in Project Settings->Physics->PhysicalSurface and assigned to your materials.
I then fire a raycast straight below the actor to determine what's down there and fill FText CurrentSurface which contains name of the surface actor is currently on. When you get this text, it's just a question of a switch.
Btw. I am doing this in C++ for sake of speed but since this is Blueprints section, you can at least get some basic idea about what nodes to look for.
Follow this question
Once you sign in you will be able to subscribe for any updates here