# Get Vertex/Points/Triangles NavMesh

**URL:** <https://forums.unrealengine.com/t/get-vertex-points-triangles-navmesh/342849>\
**Category:** AI\
**Tags:** Navigation, unreal-engine, question\
**Created:** [January 1, 2016, 2:33pm UTC](https://forums.unrealengine.com/t/get-vertex-points-triangles-navmesh/342849 "2016-01-01T14:33:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9f58e401](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9f58e401](https://forums.unrealengine.com/u/anonymous_user_d9f58e401)\
**Post date:** [January 1, 2016, 2:33pm UTC](https://forums.unrealengine.com/t/get-vertex-points-triangles-navmesh/342849/1 "2016-01-01T14:33:48Z")

</div>

Hi,

I want to create a sort of influence maps in a FPS game. To do this I would like this maps to have the same points of the Navigation Mesh (or Graph). So, is there any way to get the Vertex, Points or Triangles of the NavMesh?

Thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9f58e401](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9f58e401](https://forums.unrealengine.com/u/anonymous_user_d9f58e401)\
**Post date:** [April 21, 2016, 11:17am UTC](https://forums.unrealengine.com/t/get-vertex-points-triangles-navmesh/342849/2 "2016-04-21T11:17:27Z")

</div>

There is a way. I did it time ago and I’ve forgot how but it is easy. Take a look [at this rama’s post](https://wiki.unrealengine.com/AI_Navigation_in_C%2B%2B,_Customize_Path_Following_Every_Tick) and see how to obtain all the polys of the navmesh. From here it is easy to get the center of each poly, vertexs or neighbors.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d104467](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d104467](https://forums.unrealengine.com/u/anonymous_user_6d104467)\
**Post date:** [August 10, 2018, 12:03pm UTC](https://forums.unrealengine.com/t/get-vertex-points-triangles-navmesh/342849/3 "2018-08-10T12:03:15Z")

</div>

may i ask ask can i find the center of a polygon using a navnoderef?

---

<div class="post-metadata">

**Author:** ![PacaPaw](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pacapaw/32/559146_2.png) [@PacaPaw](https://forums.unrealengine.com/u/PacaPaw)\
**Post date:** [June 12, 2021, 10:34pm UTC](https://forums.unrealengine.com/t/get-vertex-points-triangles-navmesh/342849/4 "2021-06-12T22:34:04Z")

</div>

I need to know the same!!

---

<div class="post-metadata">

**Author:** ![DSHarryWilliams](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DSHarryWilliams](https://forums.unrealengine.com/u/DSHarryWilliams)\
**Post date:** [June 9, 2023, 1:47am UTC](https://forums.unrealengine.com/t/get-vertex-points-triangles-navmesh/342849/5 "2023-06-09T01:47:48Z")

</div>

A bit late but for anyone else struggling with this problem:

to get the information from NavMeshRef e.g the vertices, you pass the NavMeshRef to functions on the ARecastNavMesh. E.g

‘RecastNavMesh-\>GetPolyVerts(TilePolys[index].Ref,VerticesArray);’
