Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to add sounds to physic objects?

What is the proper (performance cheap) way to add sounds to physic objects? With that I mean collision/impact sounds.

Destruction objects let you simply define sounds in the asset but there is not anything like that for physics objects. In UE3 you could assign sounds in the physical materials but that is missing in UE4.

Product Version: UE 4.12
more ▼

asked Aug 31 '16 at 11:41 AM in Using UE4

avatar image

945 104 147 201

avatar image Davision Sep 08 '16 at 09:38 AM

Is there really no solution at all for this? I guess I could always do it manually with activating simulation generates hit events but that seems to be a overkill when considering performance. I have lot of physics objects moving around at once.

avatar image Walter Gropius Sep 08 '16 at 09:43 AM

i would also like an answer to this...

avatar image arktisvodka Jan 05 '18 at 03:52 PM

Did you guys solve this?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I've managed it this way:

  1. make custom actor blueprint

  2. put here just your mesh

  3. set physics on

  4. make tracing by capsule > branch it (if you have hit result or not)

  5. get velocity of the hit > branch it > if it exceed some value, play your sound

  • you can theoretically add multiple sound cues based on different pitch and branch it by the value

  • you can also get the phys. mat from hit result and then branch it depending on which material it is

alt text

helm_picture.jpg (246.4 kB)
more ▼

answered Oct 30 '16 at 03:06 PM

avatar image

45 7 11 14

avatar image Davision Oct 31 '16 at 10:42 AM

No, sry, but that is miles away from a good solution. First of all a trace is not a collision, it will also not represent your collision shape and it is expensive. Instead you can set "generate hit events" on on every physics objects and then make some manual setup with that event. This is also expensive though but much less then capsule tracing every tick. If nothing else this proves my point that there need to be some system in place for sounds like it was in UE3.

avatar image JohnADaniels Dec 03 '17 at 11:03 PM

Did you ever figure this out?

avatar image Logan117 Jun 16 '18 at 11:41 PM

This is what I came up with to make a simple impact sound for to actors colliding. I will upload Tut on Youtube soon explaining this further. You can find it here @ Youtbe /JiEnRgErMaYm.

Hope this helps. alt text

soundonimpact.png (171.3 kB)
avatar image JohnADaniels Jun 24 '18 at 04:17 AM

Thanks for the update, that look like an easy way to setup.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Thanks for the update, that look like an easy way to setup.

more ▼

answered Jun 24 '18 at 04:17 AM

avatar image

85 4 7 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question