# On component hit (Mesh) not working?

**URL:** <https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211>\
**Category:** World Creation\
**Tags:** character-mesh, unreal-engine, Collision, Blueprint, question\
**Created:** [March 18, 2018, 11:57pm UTC](https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211 "2018-03-18T23:57:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![loafabredda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@loafabredda](https://forums.unrealengine.com/u/loafabredda)\
**Post date:** [March 18, 2018, 11:57pm UTC](https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211/1 "2018-03-18T23:57:13Z")

</div>

So I’m trying to set up collisions with physics objects… I have the on component hit (capsule comp) working exactly how I want it to when colliding with physics objects. If I copy the settings exactly the same to the character mesh - i.e. simulate hit events, collision set to pawn etc - and then use on component hit (mesh) it doesn’t do the same thing, in fact it does nothing at all… why is this not the same for both on component hits? how can I get it working? why would they not function in the same way even when the settings are the same?

---

<div class="post-metadata">

**Author:** ![loafabredda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@loafabredda](https://forums.unrealengine.com/u/loafabredda)\
**Post date:** [March 19, 2018, 12:03am UTC](https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211/2 "2018-03-19T00:03:10Z")

</div>

SOLVED - I had to go into the skeletal mesh physics asset and check simulate generate hit events on all the capsules within here and then choose block all dynamic within the blueprint. Don’t get it but its working

---

<div class="post-metadata">

**Author:** ![Ohmless](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ohmless/32/577877_2.png) [@Ohmless](https://forums.unrealengine.com/u/Ohmless)\
**Post date:** [February 25, 2019, 9:48am UTC](https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211/3 "2019-02-25T09:48:06Z")

</div>

Make sure Collision Preset is not set to something like OverlapX. Those generate overlap events and not hit events. See [Collision](https://docs.unrealengine.com/latest/INT/Engine/Physics/Collision/index.html) for more info.

---

<div class="post-metadata">

**Author:** ![SuperfuntimesV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/superfuntimesv/32/617649_2.png) [@SuperfuntimesV](https://forums.unrealengine.com/u/SuperfuntimesV)\
**Post date:** [April 18, 2019, 7:24pm UTC](https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211/4 "2019-04-18T19:24:55Z")

</div>

Ahhhh hahaha, I should have known, I’ve been playing with this myself wondering if it was broken. Hahaha, whoops.

---

<div class="post-metadata">

**Author:** ![SLPS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SLPS](https://forums.unrealengine.com/u/SLPS)\
**Post date:** [May 25, 2023, 1:08pm UTC](https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211/5 "2023-05-25T13:08:55Z")

</div>

Thanks! This helped me. 🙂

---

<div class="post-metadata">

**Author:** ![Alkbabic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alkbabic](https://forums.unrealengine.com/u/Alkbabic)\
**Post date:** [October 25, 2023, 6:49pm UTC](https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211/6 "2023-10-25T18:49:03Z")

</div>

> [@loafabredda](#):
>
> choose block all dynamic

" …and then choose block all dynamic within the blueprint." this words I not understand. Were choose block all dynamic?..  
In blueprint I can not find function block All dinamics

---

<div class="post-metadata">

**Author:** ![LaZeRzork0w](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LaZeRzork0w](https://forums.unrealengine.com/u/LaZeRzork0w)\
**Post date:** [December 5, 2023, 3:31pm UTC](https://forums.unrealengine.com/t/on-component-hit-mesh-not-working/420211/7 "2023-12-05T15:31:50Z")

</div>

In your blueprint, open your static mesh and inside the details panel, you scroll to the bottom and see “Collision” category. Go to this category and you’ll see “Collision Preset”. You just have to choose BlockAllDynamics !
