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"

Hit Events not triggered for Actor with Physics enabled

I have a very simple BP actor, with only one Destructible component, nothing else. That component has "Simulate Physics" flag on, as well as the "Simulation Generate Hit Events" flag. Collision preset is set to custom, with collision enabled for query and physics. It blocks the game map terrain.

Now in the game, when this actor is being spawned, it correctly falls down to the terrain and stops there, so collision is correctly detected. However, neither the "OnComponentHit" event of the component nor the generic "Event Hit" events are being triggered when that actor touches the ground.

Any ideas what I might be missing here?
Is this a bug or a feature?

Product Version: UE 4.12
more ▼

asked Aug 09 '16 at 12:05 PM in Bug Reports

avatar image

236 21 36 45

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

2 answers: sort voted first

Is a feature... Both meshes need to have the flags activated in order to trigger the Hit event.

But if the problem persists try this:

Make the BP from a Static mesh placed on the map, like a cube, instead of making a simple BP actor. Maybe that could fix your problem, worked for me with the movement with keys.

more ▼

answered Aug 09 '16 at 01:35 PM

avatar image

21 1

avatar image haimat Aug 09 '16 at 01:46 PM

Thanks for your reply. But I cannot set the flags on both meshes, as the other mesh is a landscape, and that has no such options as to generate hit events :(

avatar image TJ V ♦♦ STAFF Aug 09 '16 at 04:03 PM

Hi haimat,

Thank you for the report. I was able to reproduce this and have entered JIRA UE-34420 for the developers to investigate further.

As a workaround, you can enable Impact Damage on the Destructible mesh and it will register the hit on the landscape. However, you will have to set the mesh up to not fracture on the first hit if that is what you want.

If you need more info on how to set that up, check out this Destructible showcase from Tim Hobson.



avatar image haimat Aug 09 '16 at 04:51 PM

Thanks for the feedback!

avatar image loraptor Jan 11 '17 at 03:29 PM

This is still very much an issue. It seems like the OnComponentHit Event for Destructibles stopped triggering in 4.13

  • 4.11 - Working

  • 4.12.5 - Working

  • 4.13 - Broken

  • 4.14 - Broken

Very simple to test :

  1. Import any mesh

  2. Right Click -> Create Destructible

  3. Fracture

  4. Right Click DM -> Asset Actions - > Create Blueprint From This Asset

  5. Add OnComponentHitEvent(Destructible)

  6. Add Print String

  7. Turn on "Simulation Generates Hit Events" for both the DM Component and floor plane

  8. Turn on Simulate Physics for DM Component

  9. Simulate or Play

alt text

Can we get a word from Epic as to whether this is due to an actual issue/bug or whether the workflow for this has changed?


dmhiteventbp.jpg (216.3 kB)
avatar image Ashgpt Jul 07 '17 at 02:59 PM

Apparently checking the Enable Impact Damage checkbox in the destructible settings allows the OnComponentHit event to be triggered.

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

Hey, im struggling with the same issue. Have you found a solution?

more ▼

answered Nov 19 '16 at 05:45 PM

avatar image

33 12 16 20

avatar image haimat Nov 19 '16 at 10:51 PM

Not really :(

(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