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"

Navmesh Problems with landscape collision

Hey Guys!

I'm making my project using the landscape demo and I've sculpted the landscape as per my requirements. But the landscape collision doesn't seem to update.

I'm having trouble laying my NavMesh Volumes in some areas as shown in the pic below.

alt text

but as soon as I set the collision preset on landscape to NoCollision, it works like a charm as seen below

alt text

By using the second solution my player falls through the ground as you might have guessed already.

How could I update or rebuild the collision on the landscape. Is this a bug or am I doing something wrong here?

[EDITOR VERSION - 4.7.5] Thanks. Cheers.

Product Version: UE 4.7
Tags:
more ▼

asked Jun 08 '15 at 08:09 PM in Bug Reports

avatar image

Amaresh
208 29 35 44

avatar image Adam Davis STAFF Jun 10 '15 at 03:32 PM

If you enter the console command "RecreateLandscapeCollision" does the navmesh properly update/

avatar image Amaresh Jun 10 '15 at 06:52 PM

Thanks a lot @Adam Davis that solved the issue. Thanks a ton.

avatar image Amaresh Jun 10 '15 at 06:53 PM

I think now I've to get a list of console commands for any future use.

avatar image Artax Aug 21 '16 at 05:11 PM

Hello guys,

has this issue made any progress already? I am still experiencing it in 4.12, and I have quite a few heroes and enemies who should be able to move around on my terrain.

Or maybe there's a good workaround?

Thanks!

avatar image Adam Davis STAFF Aug 22 '16 at 05:14 PM

Hi Artax, Can you show me your navmesh settings? Additionally, did you try the console command listed above?

avatar image Artax Aug 22 '16 at 09:03 PM

Hi Adam,

I just found out that the problem was not the landscape, but the streaming level of my world composition, as discussed in other threads. When I move all my nav meshes to the persistent level, it works. Thanks anyway!

avatar image Adam Davis STAFF Aug 22 '16 at 09:15 PM

Hi Artrax. I'm happy to hear that you are no longer experiencing this issue. I will remark this as answered for tracking purposes.

avatar image alysha.gibbard.p Jan 07 '19 at 02:03 PM

Hi, is there anyway a step by step guide could be posted showing how to force the landscape collisions to update? I have Amareshs exact same problem, but very very very new to Unreal Engine and don't understand how to create a console command or what it is/does until I walkthrough alongside a tutorial. Im in the latest version on Unreal Engine 4.21. Just wanting to flatten terrain etc and create a path (terrain visually looks to do that) but when walking through the landscape the original cliff collision is there and i either float above or below the visual landscape.

Have tried changing collision type of landscape like Amaresh but experienced exact same issues.

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

2 answers: sort voted first

Hey Amaresh,

There have been some landscape navmesh generation issues we've fixed for 4.8. Can you give 4.8 a try and see if your issues got solved?

You can also try messing around with navmesh generation settings, CellHeight comes to my mind here. Also, Landscape's collision settings, other than NoCollision, could play a role here as well.

Cheers,

--mieszko

more ▼

answered Jun 09 '15 at 07:13 AM

avatar image

MieszkoZ STAFF
7.3k 225 57 413

avatar image Amaresh Jun 09 '15 at 12:01 PM

I've tried it with 4.8 and rebuild the entire area, but it doesn't help. As far as collision presets are concerned nothing works if I set any channel to block. It works with NoCollision and OverlapAll. But my player falls through the landscape when I go on it.

avatar image Amaresh Jun 09 '15 at 12:05 PM

I've modified the landscape a bit and it doesn't update the collision as per the new height. While playing in standalone my player goes into air as if it is walking on top of the previous landscape.

How can I update landscape collision?

avatar image Amaresh Jun 09 '15 at 04:22 PM

It does work when I set the collision for pawn and vehicle to ignore in custom collision. But I want my to be able to move on the landscape.

avatar image MieszkoZ STAFF Jun 10 '15 at 07:52 AM

This sounds like Landscape collision issue actually. I'll pass this over to the support team then.

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

Hi Amaresh,

I had a feeling it was the landscape collision not fully updating. I am happy to hear that recreating the collision helped to solve the error you were experiencing. I'll mark this thread as answered for tracking purposes. If the error occurs again and this does not solve it, please feel free to post again and I'll be happy to take another look.

more ▼

answered Jun 10 '15 at 07:05 PM

(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