Creating a hole in a landscape?

Hi, I was wondering if there is a way to create a randomly generated hole on the landscape in blueprints. I am wanting this as a trap for the level. However I am wanting it to be a landscape because I can sculpt it into a more terrain looking map.

Hey there @Plumick! The landscape system in Unreal isn’t meant to be modified at runtime, so runtime procedural mesh manipulation is off the table for the landscape system itself. Though there are mechanisms to paint holes, or even update the texture to apply the holes however this won’t change the collision. This older thread goes into detail a bit:

The alternatives boil down to faking it with a material, or if you actually need deformable terrain you will need to either dig into procedural meshes or custom voxels (or voxel plugin) as possible solutions based on need.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

Just a thought, but what if you make a portal and place it somewhere randomly?

Essentially you would make a hole (portal) and stick it on the ground somewhere. Since it ‘leads to’ another area, it’s effectively a hole in your landscape?

I have seen the material that makes it look like a hole. However just like you said the collision does not work the same. I will take a look at these alternatives. Thankyou!