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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[UT4] Generating Navmesh on Moving Object

Hello Everyone,

So I have this little problem regarding a map I'm building for UT4 in the Unreal Tournament Editor (UE Version 7.0). I'm trying to do something that I'm not quite sure can be done successfully in my version of the engine, and I'm wondering if any of you guys might know a solution to this.

My map is based around a little platform (basically just a platform at this point->Shown below in white) which moves continuously between two points (the ends of the track->Area with bluish-grey floor). This platform basically serves as a bridge between the two sides of the map, and should additionally serve as its own play area.

alt text

I have set up a matinee which controls the platform movement from one side of the map to the other and this matinee sequence is working properly. However, when I was testing my map I noticed that when I check "Rebuild at Runtime" and "Force Rebuild on Load" in the project's navigation mesh settings, the platform still moves too fast for the navmesh to finish generating properly.

Anybody know a way around this?

alt text Navmesh generating properly prior to starting the game. (Platform hasn't moved yet) alt text Platform continues moving and engine tries to generate Navmesh, but complete mesh is not generated due to object movement. alt text Same thing here... alt text And Here... Continues all throughout movement.

So my basic question is... does anyone know a way around this, or how to have a navmesh "stick" to the top surface of a moving actor/static mesh? Without having to regenerate the entire map's navmesh constantly?

Thanks in advance for any help.

Product Version: UE 4.7
Tags:
more ▼

asked May 27 '15 at 01:24 AM in Blueprint Scripting

avatar image

The7thCrest
120 14 20 22

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

1 answer: sort voted first

TLDR; UE4 currently doesn't support navmesh on moving platforms yet. But you can fake it!

Even if you tweaked navmesh generation to generate fast enough (which is actually pretty easy, it's just the debug drawing that adds a lot of perceptual delay) AI wouldn't be able to follow paths generated with that navmesh, since their paths would constantly get invalidated.

However, you can get a result you need by disabling navmesh on the platform (make it "navigation irrelevant") and introducing invisible, fake collision (like BlockingVolumes for example) that would get toggled with platform's movement.

Having said all that, I believe there's more to AI navigation in UE4 than just a plain RecastNavMesh and I have no idea how the extra stuff will behave with the setup I described. Give it a try and if it doesn't work try asking questions on UT forums.

Cheers,

--mieszko

more ▼

answered May 27 '15 at 09:33 AM

avatar image

MieszkoZ STAFF
7.3k 223 57 412

avatar image Cpt.Trips Oct 06 '17 at 05:35 PM

The issue is entered here on Trello: https://trello.com/c/Q7HXIOoR/491-navmesh-on-moving-platforms

But it's an archived card, does that mean it's discarded, or is it still in the backlog and might get addressed in the future?

(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