# SetNotifyRigidBodyCollision function don\`t work, please help

**URL:** <https://forums.unrealengine.com/t/setnotifyrigidbodycollision-function-don-t-work-please-help/2583715>\
**Category:** World Creation\
**Tags:** unreal-engine, bug-report, question, CPP\
**Created:** [June 29, 2025, 1:18am UTC](https://forums.unrealengine.com/t/setnotifyrigidbodycollision-function-don-t-work-please-help/2583715 "2025-06-29T01:18:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wertwerty](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wertwerty](https://forums.unrealengine.com/u/Wertwerty)\
**Post date:** [June 29, 2025, 1:18am UTC](https://forums.unrealengine.com/t/setnotifyrigidbodycollision-function-don-t-work-please-help/2583715/1 "2025-06-29T01:18:01Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/8/608f14229ee3b4fdf9c8450b98c10265de31414c.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/7/ec724434c5d6d5582608e74363c97e0d8427bf66.png)

SetNotifyRigidBodyCollision seen to be broken. Simulation Generates Hit Events change boolean , but OnComponentHit **don`t** call.  
OnHit function must be called anyway (because it Simulation Generates Hit Events set in runtime), but called only when set Simulation Generates Hit Events true in editor.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/1/c31b56eb186e9a9af5a3cf1ecd5f4bae1197d0ad.png)  
When Simulation Generates Hit Events set true in editor  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/6/7960265b343983fe3f94f64ac8f6478c64653801.png)  
When not  
What the problem?
