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.
asked Nov 22 '17 at 06:56 PM in Blueprint Scripting
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.
answered Nov 22 '17 at 09:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here