I am trying to make an icicle that falls and breaks on the floor or if the player dashes into it using blueprints. I got it to fall and break on the floor using a destructible mesh and physics but I couldn’t figure out how to add the sound of shattering at the point of impact. Either when it hits the floor or when it hits the player.
Please can someone post pictures of a working version of this? I have been looking everywhere for a falling trap I can see the code of but I can’t find one anywhere.
I placed a small collision sphere on top of the target so that when the player enters it enable physics on the Geometry Collection dropping it on the players head.
Then when the Geometry Collection breaks the event fires and I can play the sound I want. In this case I only allow sound to play on the first break index so as not to get an overwhelming cacophony of sound but you can do fancy things to have more complex sounds play when certain index breaks are triggered.
Then just for good measure on hitting the player I apply damage but I make sure it only happens once so as not to kill the player instantly (unless that’s the desired effect).