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 event for destructible chunks not firing, though collision blocks destructible

I've got an grenade actor with a Destructible mesh component and a radial force that I'm using to destroy the mesh. When it fractures I'm trying to determine if any of the chunks hit the player, and not when the destructible remains intact. However, I am unable to get a hit event registered from the chunks.

As a test, I built a static mesh enclosure with the grenade inside. The collision on the static meshes is set to block all dynamic (which includes Destructibles). When the grenade explodes, the chunks are contained within the box, but no hit event is registered from the walls. When it is, I'll cast the component to a DestructibleComponent and can do the rest, but the basic onComponentHit is not firing.

Any help is appreciated, thank you.

Product Version: UE 4.17
more ▼

asked Nov 22 '17 at 06:56 PM in Blueprint Scripting

avatar image

27 3 7 11

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I was able to resolve this issue by changing the size of the large chunk threshold to .1. This allowed the capsule component on my player character to register a hit event from the shrapnel but I had to destroy the grenade actor as soon as a chunk/shrapnel hit the capsule else it was knocking my camera everywhere. Probably a better way to do it but it works at least.

more ▼

answered Nov 22 '17 at 09:43 PM

avatar image

27 3 7 11

(comments are locked)
10|2000 characters needed characters left
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