# Can't make Dynamic Mesh collision to work properly for certain meshes

**URL:** <https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [March 6, 2025, 5:29pm UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147 "2025-03-06T17:29:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viniccius007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Viniccius007](https://forums.unrealengine.com/u/Viniccius007)\
**Post date:** [March 6, 2025, 5:29pm UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147/1 "2025-03-06T17:29:50Z")

</div>

I’m developing a prototype and I wanted for a dynamic mesh to get all overlapping actors, and the collision kinda work, but just for the player, and I have no idea why it’s not working for other components, as an example I have the player and a cube: but just it just identifies the player:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/8/8781b4d5f7228d413be64b1e0af4b8c4a450ecb5.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/8/a78c0102e690c55343fde19ea7d80041e979fed7.jpeg)

The settings of the dynamic mesh:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/e/47ecb1cfa5f809c50d8bd5ee3470bb3bce3e82f9.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/0/790df98b577bf565595cb45cab3319ae72c0a343.png)

And for the cube:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/e/fde2665b520ef2fd664cc3a3c0b5a2b360ca4015.png)

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [March 6, 2025, 7:30pm UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147/2 "2025-03-06T19:30:43Z")

</div>

Ones in world dynamic the other in Pawn.  
Character is in Character.

What channel is the collision checking for?

---

<div class="post-metadata">

**Author:** ![Viniccius007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Viniccius007](https://forums.unrealengine.com/u/Viniccius007)\
**Post date:** [March 6, 2025, 8:51pm UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147/3 "2025-03-06T20:51:29Z")

</div>

For other collision operations I can specify the channel it looking for, but the GetOverlappingActors only allows to pass a optional class filter, so I’m not sure:

```cpp
TArray<AActor*> OverlappingActors;
DynamicMeshComponent->GetOverlappingActors(OverlappingActors);

GEngine->AddOnScreenDebugMessage(100, 0.0f, FColor::Red, FString::Printf(TEXT("Dynamic Overlapping: %d"), OverlappingActors.Num()));

```

---

<div class="post-metadata">

**Author:** ![Viniccius007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Viniccius007](https://forums.unrealengine.com/u/Viniccius007)\
**Post date:** [March 6, 2025, 9:05pm UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147/4 "2025-03-06T21:05:24Z")

</div>

For extra information, that’s my character collision:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/9/589dad181e2d4919b190777a097a8803a4aba8ad.jpeg)

My confusion is that even replicating the settings it doesn’t identify the cube

---

<div class="post-metadata">

**Author:** ![Viniccius007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Viniccius007](https://forums.unrealengine.com/u/Viniccius007)\
**Post date:** [March 6, 2025, 9:20pm UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147/5 "2025-03-06T21:20:20Z")

</div>

Ok, so I noticed that moving an actor makes it’s start to get inside the overlapping, but considering that for example the walls I want to check against aren’t going to move, it’s a problem:

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [March 7, 2025, 12:18am UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147/6 "2025-03-07T00:18:52Z")

</div>

Its a reverse sweep then.

Acrually look up and test how sweep collision works - because latest engine, bugs, BS, things may be different.

The premise is, you can detect anything, but the start event is not necessarily going to fire for you.

If you set up the function call right, passing in the correct parameters for it to sweep, then in theory you get responses ditecly off that same function.

Prototype in blueprint to check what is possible.

A good/decent reference can be found in the engine samples, when dealing with the render target textures that make up the fake water.  
It should show a good concept basis for checking overlaps, setting an actor variable, doing checks, and clearing that value to repeat the process on overlap end.

In all cases (even c++) you can pass parameters to the func for exactly the channel and settings you want to check.

---

<div class="post-metadata">

**Author:** ![Viniccius007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Viniccius007](https://forums.unrealengine.com/u/Viniccius007)\
**Post date:** [March 7, 2025, 7:42pm UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147/7 "2025-03-07T19:42:47Z")

</div>

The problem is that I can’t specify any parameter on the GetOverlappingActors rather than the ClassFilter

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/f/17f5fa64208d14d5362fa6be94d1f6853651c82c.png)

Basically I’m trying to check the overlaps for a complex shape or simple convex hull, but it seems like I can’t use the Overlap to check for these two, since the CollisionShape required doesn’t accept a convex hull:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/2/de27666c20f33c6869e616f1b01896790323da05.png)

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [March 7, 2025, 11:44pm UTC](https://forums.unrealengine.com/t/cant-make-dynamic-mesh-collision-to-work-properly-for-certain-meshes/2378147/8 "2025-03-07T23:44:11Z")

</div>

Try OnOverlapBegin with peperly set sweep and channels.
