How to attach a sound to a moving actor?

Hello. I simply want to attach a sound to a moving actor and to follow the actor. I know there is Spawn Sound Attached but that takes in something called a scene actor component and I have found little information on what that is and how to use it.

Thank you!

hi,
you can find your scene actor component here

hope this helps you :slight_smile:

cheers :vulcan_salute:

Hello! Thanks for the response. I am actually working in a BP where it doesn’t have that component sadly.

hi, you can use your mesh instead, just plug in your static mesh or skeletal mesh instead of the DefaultSceneRoot :slight_smile:

cheers :vulcan_salute:

My BP is a controller and does not have any meshes attached to it :frowning:

However was actually able to used spawn sound attached with the advice above in a different blueprint, but now the problem i’m having is that ALL of the objects using that mesh(including the player) is spawning with that sound when instead I only want the enemies to be able to spawn with it.

hi, just messed around a bit with the sound attach, you can attach it to an arrow instead, no need for mesh then :slight_smile: or you just add a audio source to it and play it if needed.

happy christmas :christmas_tree:

Hey, thanks for the responses! What do you mean by arrow? And I would attach it to the object but the enemies are being spawned through script.

you can try only the arrow, then you don´t need the mesh

hi, just messed around a bit, you can do something like that… this is a box collider with collision set to overlapall

here you shouuld be able to just attach the sound, no need for mesh or anything, your enemy should have a root component if in game, you can trigger it any way you want, i just made this and run through with my avatar, works :slight_smile:

1 Like