# \[Geometry Srcipting\] What is the way to rebuild Dynamic Mesh collision?

**URL:** <https://forums.unrealengine.com/t/geometry-srcipting-what-is-the-way-to-rebuild-dynamic-mesh-collision/1386710>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine, geometry-script, procedural-mesh, question, Blueprint\
**Created:** [November 13, 2023, 7:16am UTC](https://forums.unrealengine.com/t/geometry-srcipting-what-is-the-way-to-rebuild-dynamic-mesh-collision/1386710 "2023-11-13T07:16:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimLi\_2022](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JimLi\_2022](https://forums.unrealengine.com/u/JimLi_2022)\
**Post date:** [November 13, 2023, 7:16am UTC](https://forums.unrealengine.com/t/geometry-srcipting-what-is-the-way-to-rebuild-dynamic-mesh-collision/1386710/1 "2023-11-13T07:16:32Z")

</div>

Hi experts,

We are working on applying both physics and collision to a dynamic mesh boolean result. Since physics cannot go together with “Ues Complex Collision As Simple”, we keep the collison type to be “Project Default” and rebuild collison seperately, based on the boolean result mesh.

Here is the process.

1. We perform boolean operation like this:  

2. We rebuild collision with “Set Dynamic Mesh Collision From Mesh”, using the result mesh from the last step:  

And we get the result of cutting a cube. The mesh does get cut and it has physics, but the collision seems not being updated correctly. In the second image below, it looks like the cube collision is still the one before cut.

 ![result_01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/e/40e7e2a9c93cb6fd277f26183be58b9162cfb2ea.jpeg)  
 ![result_02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/6/4c61d0a4dfbc60d3eb7afe3ac3561e5912065bfe.jpeg)

Overall, we expect the collison to be match with the result mesh. Is there a way to achieve that? Any help will be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Lianghaoquan0929](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lianghaoquan0929](https://forums.unrealengine.com/u/Lianghaoquan0929)\
**Post date:** [November 18, 2023, 5:24am UTC](https://forums.unrealengine.com/t/geometry-srcipting-what-is-the-way-to-rebuild-dynamic-mesh-collision/1386710/2 "2023-11-18T05:24:40Z")

</div>

I think you need to change the collision complexity to “Use Complex Collision As Simple”

---

<div class="post-metadata">

**Author:** ![xlip](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlip/32/997731_2.png) [@xlip](https://forums.unrealengine.com/u/xlip)\
**Post date:** [June 22, 2024, 2:44pm UTC](https://forums.unrealengine.com/t/geometry-srcipting-what-is-the-way-to-rebuild-dynamic-mesh-collision/1386710/3 "2024-06-22T14:44:01Z")

</div>

You can split the ‘options’ from ‘SetDynamicMeshCollisionFromMesh’ method or create your own struct with desired Method and params.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/e/29e25d5258e254ff50f5c0393290fe161697299e.jpeg)

---

<div class="post-metadata">

**Author:** ![DentonJC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DentonJC](https://forums.unrealengine.com/u/DentonJC)\
**Post date:** [November 19, 2024, 9:16pm UTC](https://forums.unrealengine.com/t/geometry-srcipting-what-is-the-way-to-rebuild-dynamic-mesh-collision/1386710/4 "2024-11-19T21:16:45Z")

</div>

You are enabling physics on a mesh with complex collision. No meshes in unreal support physics for complex/per poly. Its for overlaps/line traces only.

Using xlip’s suggestion you should be able to build convex hulls for simple collision and enable physics that way, and in the use case you’ve shown here with simple shapes it will work fine. But for more complex shapes it will not be as accurate as your actual mesh
