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.
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.