# Cut landscape mesh with blueprint (Like a dynamic boolean operation)

**URL:** <https://forums.unrealengine.com/t/cut-landscape-mesh-with-blueprint-like-a-dynamic-boolean-operation/1879690>\
**Category:** World Creation\
**Tags:** procedural-mesh-comp, unreal-engine, Landscape, question\
**Created:** [May 29, 2024, 8:30pm UTC](https://forums.unrealengine.com/t/cut-landscape-mesh-with-blueprint-like-a-dynamic-boolean-operation/1879690 "2024-05-29T20:30:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swornh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swornh](https://forums.unrealengine.com/u/Swornh)\
**Post date:** [May 29, 2024, 8:30pm UTC](https://forums.unrealengine.com/t/cut-landscape-mesh-with-blueprint-like-a-dynamic-boolean-operation/1879690/1 "2024-05-29T20:30:26Z")

</div>

Hi, so I basically have the exame same setup as in this video “[https://www.youtube.com/watch?v=9hwkFJ\_vxdg](https://www.youtube.com/watch?v=9hwkFJ_vxdg)”, where you have a building with some kind of underground passage, or a open world cave entrance.  
But from what I saw, people “cut” or hide the mesh visibility at the editor.

I was wondering if it wouldn’t be possible to add a collision box or any other object at the blueprint, like the image below, and then just detect where it intersects with the landscape and cut it out, like the we can do in the “modeling mode” editor, with “Model \> Boolean \> A - B” operation.

I thouth that would be simple enough like detect the intersection colision points, filter only for that mesh or material some how and cut out, but then, seems its is much more envolving then that 😅.

underground cut some how sample

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/7/fb75400a6ed54052488f0d18f31ccce3fa6ad157.jpeg)

boolean sample (I was going to past a boolean sample here, but the portal does not allow for more than 1 attache…)

The goal is to be able to just place the building blue print and the underground passage won’t have a landscape mesh passing right trough it. Then one could add this blueprint dynamically at any landscape

---

<div class="post-metadata">

**Author:** ![Swornh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swornh](https://forums.unrealengine.com/u/Swornh)\
**Post date:** [June 1, 2024, 10:39am UTC](https://forums.unrealengine.com/t/cut-landscape-mesh-with-blueprint-like-a-dynamic-boolean-operation/1879690/2 "2024-06-01T10:39:53Z")

</div>

So this guys does it: [https://youtu.be/1U-5zxJCIN4?si=gCg7ARfqOEWSOw09&t=157](https://youtu.be/1U-5zxJCIN4?si=gCg7ARfqOEWSOw09&t=157)  
But I still cant recreate the same result yet

[https://www.reddit.com/r/UnrealEngine5/comments/1d5j7gc/how\_can\_i\_achieve\_this\_same\_effect\_set\_visibility/](https://www.reddit.com/r/UnrealEngine5/comments/1d5j7gc/how_can_i_achieve_this_same_effect_set_visibility/)

---

<div class="post-metadata">

**Author:** ![Swornh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swornh](https://forums.unrealengine.com/u/Swornh)\
**Post date:** [June 4, 2024, 1:07am UTC](https://forums.unrealengine.com/t/cut-landscape-mesh-with-blueprint-like-a-dynamic-boolean-operation/1879690/3 "2024-06-04T01:07:38Z")

</div>

Ok, was able to make this work, at least the hiding of the landsacpe, still have some issues with the collision though ☹

made a video about it here: [https://www.youtube.com/watch?v=ot6ty5cETtU](https://www.youtube.com/watch?v=ot6ty5cETtU)

---

<div class="post-metadata">

**Author:** ![Fafhrd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fafhrd](https://forums.unrealengine.com/u/Fafhrd)\
**Post date:** [June 5, 2024, 11:22pm UTC](https://forums.unrealengine.com/t/cut-landscape-mesh-with-blueprint-like-a-dynamic-boolean-operation/1879690/4 "2024-06-05T23:22:07Z")

</div>

As far as I know you can’t change landscape weights at run time, so while using RVT will mask out the landscape visually, it won’t disable collision in the masked out area the way a transparency landscape layer does. You could probably fake it by using a trigger box to either disable collision on the landscape, or disable the player’s collision with the landscape (probably better to use the latter).

---

<div class="post-metadata">

**Author:** ![Swornh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swornh](https://forums.unrealengine.com/u/Swornh)\
**Post date:** [June 5, 2024, 11:33pm UTC](https://forums.unrealengine.com/t/cut-landscape-mesh-with-blueprint-like-a-dynamic-boolean-operation/1879690/5 "2024-06-05T23:33:46Z")

</div>

yes that is how I did it, after trying to fight the engine to add a new channel to the landsacpe, is just better to make the pawn ignore the “world static” while inside the overlap area, and make sure the blueprint or whatever one have there, has some other channel like world dynamic for the pawn to stand on.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 5, 2024, 11:33pm UTC](https://forums.unrealengine.com/t/cut-landscape-mesh-with-blueprint-like-a-dynamic-boolean-operation/1879690/6 "2024-07-05T23:33:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
