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"

Can anyone break down and describe the "NavMesh" from content example ?

I am completely new to Unreal Engine, and our game needs NavMeshes for AI movement. I tried understanding the official documentation below, but couldn't understand it clearly. "https://docs.unrealengine.com/latest/INT/Resources/ContentExamples/NavMesh/1_1/index.html"

Could anyone break down and describe setting up of NavMesh in UE4 or link me to any other documentation/tutorial that explains it in detail?

Thank you in advance.

Product Version: Not Selected
Tags:
more ▼

asked Mar 31 '14 at 09:45 PM in Blueprint Scripting

avatar image

gameme
46 3 5 212

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

2 answers: sort voted first

Found the answer to my problem, Apparently I had to spawn default controller along with AI. The below Blueprint works and does what I want to.

alt text

capture.png (147.9 kB)
more ▼

answered Apr 01 '14 at 02:39 AM

avatar image

gameme
46 3 5 212

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

Hey gameme,

Unfortunately the documentation is referring to a slightly older version of that level, and we are working to update that. But the principles are the same.

A Navmesh is set up as a volume. In the Modes tab, select Volumes and then scroll down to Nav Mesh Bounds Volume. Placing one in your level so that your map is within the volume's bounds will create a NavMesh Actor that you can see in your level if you press P or go to Show and check Navigation to on. The Nav Mesh will be built automatically.

Did you have any specific questions about setting up your Nav Mesh?

Best,

Ben Halliday

more ▼

answered Mar 31 '14 at 10:10 PM

avatar image gameme Apr 01 '14 at 02:07 AM

Thank you for the answer. I realized I have a even primitive task at hand.

  • I want to spawn an AI in-front of the player character,

  • get the reference to it,

  • and do a simple move task on the AI to a target point defined in the level.

Since am new to UE4, am using "Blueprint only" to do this, and just to be faster I am using the existing "NavMesh" umap from content example . I have attached the screenshot of my blueprint. Here is what is happening,

  • The new AI (Existing class of the Umap) is being created at desired location,

  • return value of the spawn does not give any reference to the controller, I even tried to set an AI controller, which I am not sure if I should be doing.

  • And I assume that is the reason the Simple move function is not working.

If anyone sees an obvious mistake kindly help me out.

Thank you.

alt text

spawn.png (204.3 kB)
(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