How to play sounds when overlapping foliage
I'm trying to figure out how to play specific sound effects when I overlap grass, weeds and bushes in my game.
I'm able to get overlap events for the InstancedFoliageActor, but that's for the entire collection of foliage in the world, so it doesn't seem to allow me to play unique sounds for different types of foliage.
Is there a way to do this in the engine out of the box? I'm using 4.8 preview 3.
asked May 21 '15 at 06:30 AM in Using UE4
Have you considered using trigger boxes in the foliage area? Here is a screenshot of a trigger box blueprint which when it's stepped on, the character is lit up in flames and there is a burning noise, once 5 seconds has passed, the flames disappear as long as you're off of the trigger.
So, if you have different types of foliage, you can set up trigger boxes around your map where that foliage is and it'll be connected to the different sounds you're wanting for each type of plant.
Let me know if you have any further questions, I'll be more than happy to investigate this further for you. :)
answered May 21 '15 at 09:40 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here