# Collision doesn't get hit events

**URL:** <https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955>\
**Category:** World Creation\
**Tags:** UE4-11, unreal-engine, hit-event, Collision, bug-report, Blueprint, question\
**Created:** [June 16, 2016, 5:16am UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955 "2016-06-16T05:16:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![YoniBE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoniBE](https://forums.unrealengine.com/u/YoniBE)\
**Post date:** [June 16, 2016, 5:16am UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/1 "2016-06-16T05:16:00Z")

</div>

Hi!  
I created a landing system and a box collision for detecting landing, the problem is that the collision doesn’t generates hit events.

Landing:

> **[Gyazo](https://gyazo.com/8dfccb9ab924f484ba51f272a6a295b8)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

Check if on floor:

> **[Gyazo](https://gyazo.com/d09cf888065a79d0c5d0dc134fef1a3c)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

Collision setup

> **[Gyazo](https://gyazo.com/45346fc11fee8cd7d194be2fafc5fbc0)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

Few months ago I created this in UE4.8 and it worked, but at 4.11 it isn’t…

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [June 16, 2016, 2:44pm UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/2 "2016-06-16T14:44:09Z")

</div>

Hey YoniBE,

Thank you for providing screenshots. Could you elaborate a bit more on your setup so I can attempt to reproduce the issue on my end?

- Have you been able to reproduce this in a clean project?
- If so, can you please provide steps that we can follow to reproduce this?
- When you say you’ve created a landing system, what is doing the landing? Is the object using physics-based movement? Any details are appreciated.

---

<div class="post-metadata">

**Author:** ![YoniBE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoniBE](https://forums.unrealengine.com/u/YoniBE)\
**Post date:** [June 16, 2016, 4:30pm UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/3 "2016-06-16T16:30:38Z")

</div>

Hi!  
I added few hours ago some new nodes to the BP, and it works now but it with different way and sometimes it won’t work for me… and with this way I don’t use the box collision.

> **[Gyazo](https://gyazo.com/bb38da0825e9cba0a16cb898b1b9497a)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

The landing system is checking if there is hit event on landing collision box, then it detecting with linetrace by channel if the helicopter is near the ground, if so, it will check the helicopter is hovering or lowing his height and if it is true it will lower helicopter’s rotor speed. (I don’t think that the problem in the landing system because it works with the Event Hit node as I said above)

I also notice that it is working with the collision and OnCollisionHit node if I turn on simulate physics but then the collision box will fall and not move with the helicopter.

This is the full setup of the collision box:

> **[Gyazo](https://gyazo.com/51d53138e477eee631f6e0452efca4a4)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

I tried now to create simple hit collision in new project and it is working…

1. I created actor BP, placed there a static mesh (box) and a box collision on it.

2. turn on generate hit events in box collision

3. set collision to pawn

4. created a node OnCollisionHit → print string: Hello  
and when the player (3th person template) entered to the collision, it wrote me “hello”.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [June 16, 2016, 5:19pm UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/4 "2016-06-16T17:19:08Z")

</div>

Since you have not been able to reproduce the issue in a clean project, could you please provide a stripped-down test project that I can take a look at? I’d like to see your setup and see if I can pinpoint what the issue is.

---

<div class="post-metadata">

**Author:** ![YoniBE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoniBE](https://forums.unrealengine.com/u/YoniBE)\
**Post date:** [June 17, 2016, 6:38pm UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/5 "2016-06-17T18:38:47Z")

</div>

OK. Tommorow I will send you.  
By the way, I found that I am not the only one who have this problem…

> **[Can't get hit event to fire.](https://forums.unrealengine.com/showthread.php?50949-Can-t-get-hit-event-to-fire)**
>
> I have the following setup: All actors use ‘simulate physics’ set to off and all use the ‘Block All’ (incl pawn) collision preset. My Hit events will just not fire and I have no idea why? As soon as I switch ‘simulate physics’ the ‘event hit’ fires...

> **[Even hit not working unless simulate phyiscs is enabled](https://forums.unrealengine.com/questions/202927/even-hit-not-working-unless-simulate-phyiscs-is-en.html)**
>
> I'm not sure if i have missed something somewhere but i can't seem to use event hit to detect hits with objects which don't have simulate physics turned on. I have checked out the documentation for event hit and i can't seem to find anything about...

It’s working only if I check the simulate physics option because the collision is blocking the hit, but when I turn simulate physics on the collision doesn’t follow the helicopter.

I tried now to take the project from UE4.8 and convert it to 4.11 and… it is working… So I check again if there is some difference and I notice that in 4.8 the collision is set as root component while in 4.11 it isn’t… So I created at 4.8 new collision that isn’t root componenet and tried to do the same and it didn’t work… It is working only if I check simulate physics…

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [June 17, 2016, 6:43pm UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/6 "2016-06-17T18:43:39Z")

</div>

If your collision is not following your mesh, it sounds like a parenting issue. The collision should be the parent of the mesh, and having the collision as the root component is, in most cases, the way to go.

With this in mind, see if you can make any changes to get your project to function. If not, feel free to send over a simplified test project and I’ll be glad to take a look at it.

---

<div class="post-metadata">

**Author:** ![YoniBE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoniBE](https://forums.unrealengine.com/u/YoniBE)\
**Post date:** [June 17, 2016, 7:46pm UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/7 "2016-06-17T19:46:02Z")

</div>

Here is the simplified example: (UE4.11)

> **[MEGA](https://mega.nz/#!TFknwRzQ!s5qZsKJ72Kqbh5f08aRUSNuaq-tas4kSavNFVSFnHEI)**
>
> MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB now

This is base on the UFO template, I added there a collision box for testing, when the collision isn’t the root component, it won’t print “Hello” while hitting something. (with simulate physics it will get hit report but it won’t follow the mesh.)

But when it will be root component, it will. (without simulate physics turn on)

Really thank you for help! 🙂

---

<div class="post-metadata">

**Author:** ![YoniBE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoniBE](https://forums.unrealengine.com/u/YoniBE)\
**Post date:** [June 20, 2016, 9:47am UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/8 "2016-06-20T09:47:06Z")

</div>

Any news?  
By the way, I noticed today that the collisions also doesn’t block anything if I set the collision as “Block All”, if it is a root component it will block.  
Samething about overlap (I turn on the option “generate overlap events”)

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [June 20, 2016, 2:03pm UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/9 "2016-06-20T14:03:03Z")

</div>

In order for the collision to work, it should always be the root component. Take a look at how the base Character blueprint it set up in the Third Person Template project. This shows a typical hierarchy for a blueprint, and the capsule component is the root in that case as well.

It sounds like you’ve got the collision working as long as it is set to the root component, so I’d recommend doing it that way in your own project.

Would that be something that you’d be able to do? If not, let me know and I can take another look at the project, but I think that having the collision set as the root will resolve the issues that you were experiencing.

Have a great day

---

<div class="post-metadata">

**Author:** ![YoniBE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YoniBE](https://forums.unrealengine.com/u/YoniBE)\
**Post date:** [June 21, 2016, 5:03am UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/10 "2016-06-21T05:03:10Z")

</div>

Ok, but how can I know if something hit the tail? Or the rotor? What if I need more then 1 collisions\triggers? Because using one collision as a root can’t help me with the landing because when the tail will hit the ground the BP will think that the wheels hit the ground and will start the landing system…

In 4.8 I could create many collisions at one BP and all of them were working with hit events and overlap event without turning on simulate physics…

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [June 22, 2016, 1:07pm UTC](https://forums.unrealengine.com/t/collision-doesnt-get-hit-events/360955/11 "2016-06-22T13:07:04Z")

</div>

The way that I would most likely look to implement this is to use overlap events. You could add a trigger box to each section of the plane (the plane itself has the collision) and as long as you set the other object to generate overlap events as well, it works as expected. This way you only get one trigger when it overlaps. If “On Hit” worked, it would generate a series of hits as the plane was landing or as the tail was dragging the ground.

Have a great day
