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.
asked Oct 23 '15 at 08:17 AM in Using UE4
You could create a custom collision mesh in 3DS Max.
Here's some documentation on the subject.
answered Oct 23 '15 at 11:01 PM
Hello there, feel free to check out this site: https://docs.unrealengine.com/latest/INT/Engine/Landscape/Editing/SculptMode/index.html#visibility
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 https://docs.unrealengine.com/latest/INT/Engine/Landscape/Materials/index.html#landscapeholematerials
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.
answered Oct 24 '15 at 12:41 AM
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.
answered Nov 06 '15 at 07:19 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here