x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.9
Tags:
more ▼

asked Oct 23 '15 at 08:17 AM in Using UE4

avatar image

Paul Eckhardt
101 3 11 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

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

Here's some documentation on the subject.

https://docs.unrealengine.com/latest/INT/Engine/Content/FBX/StaticMeshes/index.html#collision

more ▼

answered Oct 23 '15 at 11:01 PM

avatar image

iwantcrayons
21 2 3 6

avatar image Paul Eckhardt Oct 24 '15 at 01:13 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Oct 24 '15 at 12:41 AM

avatar image

tech1187
71 7 16 22

avatar image Paul Eckhardt Oct 24 '15 at 01:15 AM

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.

avatar image tech1187 Nov 07 '15 at 02:43 AM

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: https://docs.unrealengine.com/latest/INT/Engine/Landscape/Materials/index.html#landscapeholematerials

The Visibility tool enables you to create holes in your Landscape, such as for caves. (Many claim the tool is not working good.) https://docs.unrealengine.com/latest/INT/Engine/Landscape/Editing/SculptMode/index.html

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Nov 06 '15 at 07:19 PM

avatar image

Paul Eckhardt
101 3 11 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question