Download

Destroy Box collision?

Hi I have set up my NPC with a box collision that when it overlaps with the player it decreases his health. The only problem is even after the NPC’s are dead if the player walks over the dead bodies the box collision is still there and giving damage to the player. I’m trying to figure a way to have the box collision destroy its self and not the NPC after the NPC dies so the player can walk over the dead body and not receive damage.

This is the blueprint I’m using to cause damage.
50869d377a72cf0f165eb4c8c23f992141826ca1.jpeg

and this is the blueprint I am using to kill the NPC
15edf6b4d80acbdbe90dda0d406cdf9ffa119c67.jpeg

There should be an option to DestoryComponent(box) which will remove just the collision box and leave the character.

That worked perfectly thanks :slight_smile: