Trying to create a hole in a golf corse

It’s a multi part problem:

I’m making a minigolf game, and I’m stumped on how to create a proper hole.

1: I need a collision mesh or something that allows the ball to fall into the hole
2: I need a way for the ball to fall through the landscape
3: I need a way to make it look good.

(having a plane with a round hole causes artifacting if it’s on the same level, and has ugly bumps on the sides if it’s slightly below, and has the landscape dip down in a sculpted hole)

I can dig a hole in the landscape, but then I have ugly borders around the hole because the landscape res is pretty low compared with the hole size (hole is about 4x4 landscape units)

I can’t delete a landscape segment, because the landscape sections are 255x255 so the ball doesn’t glitch on the borders.

You could create a custom collision mesh in 3DS Max.

Here’s some documentation on the subject.

Hello there, feel free to check out this site: Sculpt Mode | Unreal Engine Documentation

It uses a visibility brush to punch a hole in the side of a landscape. Hopefully you can use this for your course.

However, first read this to setup a “hole material” to use Landscape Materials | Unreal Engine Documentation

The inside of your hole will likely be a static mesh underneath the landscape. I may be wrong, but sure does not hurt to try.

I’ve figured out that I need multiple objects, that form a hole like [( )], not just a single [O] shape. In blender 3D I can name then UCX_Hole_[01] UCX_Hole_[02] and it should work.

I’ve looked into that -
The problem I’m having is when the edges of the landscape meet the edges of the hole mesh. I want it to stay flat, but flat means rendering artifacts. Below means shadows, and above looks weird. Maybe I’ll give having the non colliding mesh rise slightly up to the hole so it doesn’t overlap the ground.

I ended up cutting holes in the terrain, and making a mesh that matched the hole exactly.

Later, I was told that I should only use landscapes for broad strokes, and should have used static meshes for the hole geometry.

Either way, it’s working now.

I understand what you are trying to do here. Here are a few links I found that may be of service to you. Wish I found them sooner;

How to create a Landscape Hole Material:

The Visibility tool enables you to create holes in your Landscape, such as for caves. (Many claim the tool is not working good.)