<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ue5 navmesh Archives - Couch Learn</title>
	<atom:link href="https://couchlearn.com/tag/ue5-navmesh/feed/" rel="self" type="application/rss+xml" />
	<link>https://couchlearn.com/tag/ue5-navmesh/</link>
	<description>Detailed Game Programming Tutorials</description>
	<lastBuildDate>Thu, 19 Jan 2023 20:28:12 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://couchlearn.com/wp-content/uploads/2020/05/cropped-logolarge-32x32.png</url>
	<title>ue5 navmesh Archives - Couch Learn</title>
	<link>https://couchlearn.com/tag/ue5-navmesh/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Setting up a NavMesh in Unreal Engine 5</title>
		<link>https://couchlearn.com/setting-up-a-navmesh-in-unreal-engine-5/</link>
					<comments>https://couchlearn.com/setting-up-a-navmesh-in-unreal-engine-5/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Tue, 10 Jan 2023 21:58:32 +0000</pubDate>
				<category><![CDATA[Easy Difficulty]]></category>
		<category><![CDATA[Unreal Engine]]></category>
		<category><![CDATA[Unreal Engine 5]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[Setting up a NavMesh in Unreal Engine 5]]></category>
		<category><![CDATA[ue navmesh]]></category>
		<category><![CDATA[ue5]]></category>
		<category><![CDATA[ue5 navmesh]]></category>
		<category><![CDATA[unreal engine]]></category>
		<category><![CDATA[unreal engine 5]]></category>
		<category><![CDATA[unreal engine 5 navmesh]]></category>
		<category><![CDATA[unreal engine navmesh]]></category>
		<guid isPermaLink="false">https://couchlearn.com/?p=2024</guid>

					<description><![CDATA[<p>Many modern games have AI controlled characters to add to the atmosphere of a scene or to provide gameplay to the player. To achieve this <a class="mh-excerpt-more" href="https://couchlearn.com/setting-up-a-navmesh-in-unreal-engine-5/" title="Setting up a NavMesh in Unreal Engine 5">[...]</a></p>
<p>The post <a href="https://couchlearn.com/setting-up-a-navmesh-in-unreal-engine-5/">Setting up a NavMesh in Unreal Engine 5</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Many modern games have AI controlled characters to add to the atmosphere of a scene or to provide gameplay to the player. <br><br>To achieve this in Unreal Engine 5 we need to have a generate a mesh for the characters to navigate through and also create a character that has AI navigation correctly setup. These are easy steps but issues can occur if not setup correctly!<br><br>In this guide we are showing you how to set up a NavMesh and basic AI Character in Unreal Engine 5.</p>



<h2 class="wp-block-heading">Setting up the NavMesh</h2>



<p>Firstly, click Window, then Place Actors. This will show the Place Actors window in the editor. This window allows you to spawn basic objects and volumes into your Unreal Engine 5 level.</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="702" height="718" src="https://couchlearn.com/wp-content/uploads/2023/01/image.png" alt="Opening the place actors editor window." class="wp-image-2033" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image.png 702w, https://couchlearn.com/wp-content/uploads/2023/01/image-293x300.png 293w" sizes="(max-width: 702px) 100vw, 702px" /></figure>



<p>Then, add a NavMeshBoundsVolume actor to your level. This can be found in the Modes panel under the &#8220;Volumes&#8221; category.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="820" height="472" src="https://couchlearn.com/wp-content/uploads/2023/01/image-1.png" alt="Adding the nav mesh bounds volume to the level." class="wp-image-2034" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-1.png 820w, https://couchlearn.com/wp-content/uploads/2023/01/image-1-300x173.png 300w, https://couchlearn.com/wp-content/uploads/2023/01/image-1-768x442.png 768w" sizes="(max-width: 820px) 100vw, 820px" /></figure>



<p>Scale and position the NavMeshBoundsVolume to fit around the area that you want the AI to be able to navigate. <br><br>This can be as large or as small as you require. Bigger nav meshes take longer to generate unless you use dynamic generation. <a href="https://couchlearn.com/easy-dynamic-pathfinding-in-unreal-engine-4/">Click here to read about dynamic nav mesh generation.</a></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="651" src="https://couchlearn.com/wp-content/uploads/2023/01/image-3-1024x651.png" alt="Scaling and positioning the nav mesh bounds volume around the level geometry." class="wp-image-2039" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-3-1024x651.png 1024w, https://couchlearn.com/wp-content/uploads/2023/01/image-3-300x191.png 300w, https://couchlearn.com/wp-content/uploads/2023/01/image-3-768x488.png 768w, https://couchlearn.com/wp-content/uploads/2023/01/image-3.png 1404w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now to confirm your Nav Mesh is setup correctly for your level, Press the &#8220;P&#8221; key on your keyboard to see the mesh visualized in the level.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="942" height="546" src="https://couchlearn.com/wp-content/uploads/2023/01/image-4.png" alt="Enabling the debug navigation view to ensure the nav mesh is set up correctly." class="wp-image-2041" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-4.png 942w, https://couchlearn.com/wp-content/uploads/2023/01/image-4-300x174.png 300w, https://couchlearn.com/wp-content/uploads/2023/01/image-4-768x445.png 768w" sizes="(max-width: 942px) 100vw, 942px" /></figure>



<h2 class="wp-block-heading">Moving the AI Character</h2>



<p>For this guide we are using the third person template that Unreal Engine 5 provides.<br><br>This means we can have an animated character to test the AI Navigation.</p>



<p>To enable our third person character blueprint to navigate the level, first drag your character into the level.<br><em>This can be found in the &#8220;Third Person / Blueprints&#8221; folder in the Content Drawer if you created your project using the Third Person Template.</em></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="432" src="https://couchlearn.com/wp-content/uploads/2023/01/image-5-1024x432.png" alt="Adding the AI character to the level." class="wp-image-2042" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-5-1024x432.png 1024w, https://couchlearn.com/wp-content/uploads/2023/01/image-5-300x126.png 300w, https://couchlearn.com/wp-content/uploads/2023/01/image-5-768x324.png 768w, https://couchlearn.com/wp-content/uploads/2023/01/image-5.png 1217w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>In the blueprint editor of the character, create a &#8220;Begin Play&#8221; event and connect the &#8220;AI MoveTo&#8221; node as shown in the image below.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="605" height="307" src="https://couchlearn.com/wp-content/uploads/2023/01/image-6.png" alt="Adding the AI MoveTo node to the blueprint graph." class="wp-image-2043" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-6.png 605w, https://couchlearn.com/wp-content/uploads/2023/01/image-6-300x152.png 300w" sizes="(max-width: 605px) 100vw, 605px" /></figure>



<p>Next, create a &#8220;GetRandomReachablePointInRadius&#8221; node and connect the output yellow vector pin to the yellow &#8220;Destination&#8221; pin on the &#8220;AI MoveTo&#8221; Node.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="742" height="326" src="https://couchlearn.com/wp-content/uploads/2023/01/image-7.png" alt="Connecting the GetRandomReachablePointInRadius node to the Ai MoveTo node." class="wp-image-2044" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-7.png 742w, https://couchlearn.com/wp-content/uploads/2023/01/image-7-300x132.png 300w" sizes="(max-width: 742px) 100vw, 742px" /></figure>



<p>Then create and connect a &#8220;Get Actor Location&#8221; node to the &#8220;Origin&#8221; yellow vector pin. This Origin position is where the random movement is calculated around.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="735" height="436" src="https://couchlearn.com/wp-content/uploads/2023/01/image-9.png" alt="Connecting the Get Actor Location ndoe to the GetRandomReachablePointInRadius node. This gives us the origin for navigation checks." class="wp-image-2046" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-9.png 735w, https://couchlearn.com/wp-content/uploads/2023/01/image-9-300x178.png 300w" sizes="(max-width: 735px) 100vw, 735px" /></figure>



<p>Set the green &#8220;Radius&#8221; pin value to the distance you want your AI to roam around. In this guide we are using &#8220;2000&#8221;.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="742" height="399" src="https://couchlearn.com/wp-content/uploads/2023/01/image-10.png" alt="Setting the navigation radius to 2000." class="wp-image-2047" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-10.png 742w, https://couchlearn.com/wp-content/uploads/2023/01/image-10-300x161.png 300w" sizes="(max-width: 742px) 100vw, 742px" /></figure>



<p>Create a &#8220;Reference to Self&#8221; node and connect this to the blue &#8220;Pawn&#8221; pin of the &#8220;AI MoveTo&#8221; node.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="768" height="405" src="https://couchlearn.com/wp-content/uploads/2023/01/image-11.png" alt="Setting the AI Pawn to the self character reference." class="wp-image-2048" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-11.png 768w, https://couchlearn.com/wp-content/uploads/2023/01/image-11-300x158.png 300w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>Finally, create a &#8220;Delay&#8221; node then connect it to the &#8220;On Success&#8221; pin. Connect the end of the Delay back into the AI MoveTo node. This will continuously navigate the AI character around the Navigation Mesh.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="766" height="457" src="https://couchlearn.com/wp-content/uploads/2023/01/image-12.png" alt="Adding and connecting the Delay node to the On Success pin and the AI MoveTo Node." class="wp-image-2049" srcset="https://couchlearn.com/wp-content/uploads/2023/01/image-12.png 766w, https://couchlearn.com/wp-content/uploads/2023/01/image-12-300x179.png 300w" sizes="(max-width: 766px) 100vw, 766px" /></figure>



<p><strong>Now you can click &#8220;Play&#8221; and the character will then begin moving towards random locations in your level using the NavMesh.</strong></p>



<h2 class="wp-block-heading">Demo Video</h2>



<figure class="wp-block-image size-full"><img decoding="async" width="800" height="450" src="https://couchlearn.com/wp-content/uploads/2023/01/BasicNavMeshExample.webp" alt="Example video showing the AI moving around the level using the NavMesh in the Unreal Engine 5 editor." class="wp-image-2053"/></figure>



<h2 class="wp-block-heading">Download the Project Files</h2>



<script src="https://gumroad.com/js/gumroad-embed.js"></script>
<div class="gumroad-product-embed"><a href="https://gumroad.com/l/iywam">Loading&#8230;</a></div>



<h2 class="wp-block-heading">Conclusion</h2>



<p>Now your character is moving around the level all by itself! This AI behaviour is very basic but can be expanded upon greatly using many of the great AI features in Unreal Engine 5. To learn more about AI and Navigation in Unreal Engine consider reading further using the links below.<br><br>Further Reading:<br><a href="https://couchlearn.com/how-to-smoothly-rotate-ai-characters-in-unreal-engine-4/" target="_blank" rel="noreferrer noopener">How to smoothly rotate AI characters in Unreal Engine</a><br><a href="https://couchlearn.com/open-world-navigation-in-unreal-engine-4/" target="_blank" rel="noreferrer noopener">Open world navigation in Unreal Engine</a><br><a href="https://couchlearn.com/easy-dynamic-pathfinding-in-unreal-engine-4/" target="_blank" rel="noreferrer noopener">Dynamically generated navigation in Unreal Engine</a><br><a href="https://docs.unrealengine.com/5.0/en-US/navigation-system-in-unreal-engine/" target="_blank" rel="noreferrer noopener">Official Unreal Engine Navigation documentation<br></a><br></p>
<p>The post <a href="https://couchlearn.com/setting-up-a-navmesh-in-unreal-engine-5/">Setting up a NavMesh in Unreal Engine 5</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://couchlearn.com/setting-up-a-navmesh-in-unreal-engine-5/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: couchlearn.com @ 2026-04-15 17:11:43 by W3 Total Cache
-->