# Destroy Actor on Collision?

**URL:** <https://forums.unrealengine.com/t/destroy-actor-on-collision/312752>\
**Category:** World Creation\
**Tags:** Destroy, destroying-actors, unreal-engine, question, Blueprint\
**Created:** [March 26, 2015, 11:05pm UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752 "2015-03-26T23:05:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunnar0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gunnar0](https://forums.unrealengine.com/u/Gunnar0)\
**Post date:** [March 26, 2015, 11:05pm UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/1 "2015-03-26T23:05:46Z")

</div>

Is there a way that I could destroy an actor on collision? Here is the blueprint.

 ![36116-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/8/528bc2e4c67a52800867ae4ba8a35e1f3032441e.jpeg)

---

<div class="post-metadata">

**Author:** ![AttemptD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AttemptD](https://forums.unrealengine.com/u/AttemptD)\
**Post date:** [March 27, 2015, 2:38am UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/2 "2015-03-27T02:38:19Z")

</div>

I’m confused what are you trying to destroy? The projectile you fired or something else?

---

<div class="post-metadata">

**Author:** ![DG\_Gage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DG\_Gage](https://forums.unrealengine.com/u/DG_Gage)\
**Post date:** [March 27, 2015, 2:39am UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/3 "2015-03-27T02:39:19Z")

</div>

Does that not work?

---

<div class="post-metadata">

**Author:** ![Gunnar0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gunnar0](https://forums.unrealengine.com/u/Gunnar0)\
**Post date:** [March 27, 2015, 11:23am UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/4 "2015-03-27T11:23:40Z")

</div>

A fired sphere by the character.

---

<div class="post-metadata">

**Author:** ![Gunnar0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gunnar0](https://forums.unrealengine.com/u/Gunnar0)\
**Post date:** [March 27, 2015, 11:26am UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/5 "2015-03-27T11:26:40Z")

</div>

Destroy on collision? No.

---

<div class="post-metadata">

**Author:** ![Jurif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jurif](https://forums.unrealengine.com/u/Jurif)\
**Post date:** [March 27, 2015, 11:43am UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/6 "2015-03-27T11:43:19Z")

</div>

What if you just use OnBeginOverlap event? and check your projectiles do have a collision.

---

<div class="post-metadata">

**Author:** ![Gunnar0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gunnar0](https://forums.unrealengine.com/u/Gunnar0)\
**Post date:** [March 31, 2015, 1:57am UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/7 "2015-03-31T01:57:22Z")

</div>

They do have collision

---

<div class="post-metadata">

**Author:** ![Grogger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grogger](https://forums.unrealengine.com/u/Grogger)\
**Post date:** [March 31, 2015, 2:58am UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/8 "2015-03-31T02:58:32Z")

</div>

If the Destroy function is called in this graph (ie. it gets through your Simulate Physics check), it should destroy whatever made contact with it.

**I have many questions about this graph and the problem:**

1. Did you mean to call destroy on  
‘self’?
2. What more can you tell us about what  
is happening?
3. Is the other actor being destroyed?
4. Is the event being triggered?
5. Is it getting passed the Branch?
6. Why are you adding Impulse to the  
component of an actor you are about  
to destroy?

---

<div class="post-metadata">

**Author:** ![Gunnar0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gunnar0](https://forums.unrealengine.com/u/Gunnar0)\
**Post date:** [March 31, 2015, 11:50am UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/9 "2015-03-31T11:50:58Z")

</div>

1. Yes, sorry i was messing with the graph on that node. Forgot to delete the string.
2. 
3. No other actors are destroyed.
4. Event is triggered by Lclick
5. I’m not sure.
6. I just used examples from a template, everything works correctly though. (It’s paintball)

---

<div class="post-metadata">

**Author:** ![Grogger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grogger](https://forums.unrealengine.com/u/Grogger)\
**Post date:** [March 31, 2015, 12:26pm UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/10 "2015-03-31T12:26:32Z")

</div>

The first thing I would do is figure out if it is hitting the “Hit” event (place a breakpoint or a print node), second I would make sure that it’s getting passed the branch.

If it hits the DestroyActor node, I believe that is guaranteed to work

---

<div class="post-metadata">

**Author:** ![Gunnar0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gunnar0](https://forums.unrealengine.com/u/Gunnar0)\
**Post date:** [March 31, 2015, 9:30pm UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/11 "2015-03-31T21:30:12Z")

</div>

Hit is working, but is **doesn’t** go past the branch.

---

<div class="post-metadata">

**Author:** ![Gunnar0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gunnar0](https://forums.unrealengine.com/u/Gunnar0)\
**Post date:** [April 16, 2015, 10:19pm UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/12 "2015-04-16T22:19:26Z")

</div>

Hello???

---

<div class="post-metadata">

**Author:** ![Gunnar0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gunnar0](https://forums.unrealengine.com/u/Gunnar0)\
**Post date:** [April 16, 2015, 10:26pm UTC](https://forums.unrealengine.com/t/destroy-actor-on-collision/312752/13 "2015-04-16T22:26:19Z")

</div>

I figured it out, since the branch wasn’t going through i just connected the node too false as well, I can’t believe i couldn’t do that in the first place.
