# Collision's hit event is weird in unreal 5.3.2 

**URL:** <https://forums.unrealengine.com/t/collisions-hit-event-is-weird-in-unreal-5-3-2/1707866>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, hit-event, Blueprint, CPP, question\
**Created:** [February 23, 2024, 3:56pm UTC](https://forums.unrealengine.com/t/collisions-hit-event-is-weird-in-unreal-5-3-2/1707866 "2024-02-23T15:56:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayraj300minds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jayraj300minds](https://forums.unrealengine.com/u/jayraj300minds)\
**Post date:** [February 23, 2024, 3:56pm UTC](https://forums.unrealengine.com/t/collisions-hit-event-is-weird-in-unreal-5-3-2/1707866/1 "2024-02-23T15:56:10Z")

</div>

We are Creating a project in unreal engine 5.3.2 and we were trying to detect hit on the Vehicle door.  
But found weird behaviour in the engine collision events.

Link to project in git : [https://github.com/KanzariyaJayraj300mind/CollisionTest  
 ](https://github.com/KanzariyaJayraj300mind/CollisionTest)Overview :

- We have an Vehicle actor which has a Body(staticmesh) as main component which has Simulate physics true and generate hit events true.

- We have a StaticMeshComponent’s Child DoorComponent which has  
Simulate physics false and generate hit event true.

- We are testing the hit event received from Vehicle’s body component and Door Component  
On hit event(of body, leftdoor,rightdoor) we are printing string like below

\<Component’s name on which event is triggered\> hit by

Here we have colored objects as follow to better identify the objects  
VehicleA body Orange  
VehicleB body Blue  
Right Doors DarkBlue  
Left Doors green

Here are the Scenarios we are testing and expected and current result.  
We have put the pairs of ActorA and ActorB which are instance of same class.

Case 1: correct

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/7/dd780d76947742736acee04eeb1455d5440b58e9.png)

Expected Output:

TestActor5.Body Cube hit by: TestActor6.Body Cube (A’s Body =\> B’s Body)

TestActor6.Body Cube hit by: TestActor5.Body Cube (B’s Body =\> A’s Body)

Current Output:

TestActor5.Body Cube hit by: TestActor6.Body Cube (A’s Body =\> B’s Body)

TestActor6.Body Cube hit by: TestActor5.Body Cube (B’s Body =\> A’s Body)

Case 2: correct

![|391.99999999999994x365](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/a/dba614c44b913044c0b4818038184bbea02b8c18.png)

Expected Output:

TestActor2.Door\_L Cube hit by: TestActor1.Door\_L Cube (B’s LeftDoor =\> A’s LeftDoor)

TestActor1.Door\_L Cube hit by: TestActor2.Door\_L Cube (A’s LeftDoor =\> B’s LeftDoor)

Current Output:

TestActor2.Door\_L Cube hit by: TestActor1.Door\_L Cube (B’s LeftDoor=\> A’s LeftDoor)

TestActor1.Door\_L Cube hit by: TestActor2.Door\_L Cube (A’s LeftDoor=\> B’s LeftDoor)

Case 3:  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/6/8d6883bdbee30f56696c588d9ccdc0d42689f84b.png)

Expected Output:

TestActor3.Door\_L Cube hit by: TestActor4.Door\_R Cube (A’s LeftDoor =\> B’s RightDoor)

TestActor4.Door\_R Cube hit by: TestActor3.Door\_L Cube (B’s RightDoor =\> A’s LeftDoor)

Current Output:

TestActor3.Door\_R Cube hit by: TestActor4.Door\_L Cube (A’s RightDoor =\> B’s LeftDoor)

TestActor4.Door\_R Cube hit by: TestActor3.Door\_L Cube (B’s RightDoor =\> A’s LeftDoor)

Case 4:

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/2/a22b9dc11ba5373ebb21b7c72c2f6643e680aac3.png)

Expected Output:

TestActor7.Door\_L Cube hit by: TestActor8.Body Cube (A’s LeftDoor =\> B’s Body)

TestActor8.Body Cube hit by: TestActor7.Door\_L Cube (B’s Body =\> A’s LeftDoor)

Current Output:

TestActor7.Body Cube hit by: TestActor8.Door\_L Cube (A’s Body =\> B’s LeftDoor)

TestActor8.Body Cube hit by: TestActor7.Door\_L Cube (B’s Body =\> A’s LeftDoor)

---

<div class="post-metadata">

**Author:** ![jayraj300minds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jayraj300minds](https://forums.unrealengine.com/u/jayraj300minds)\
**Post date:** [February 26, 2024, 8:48am UTC](https://forums.unrealengine.com/t/collisions-hit-event-is-weird-in-unreal-5-3-2/1707866/2 "2024-02-26T08:48:27Z")

</div>

@everynone Can you please help ?  
Thanks in advance.
