# AI get waypoints of path to target

**URL:** <https://forums.unrealengine.com/t/ai-get-waypoints-of-path-to-target/458520>\
**Category:** AI\
**Tags:** ai-navigation, pathfinding, unreal-engine, path, Scripting, question\
**Created:** [November 17, 2019, 10:20am UTC](https://forums.unrealengine.com/t/ai-get-waypoints-of-path-to-target/458520 "2019-11-17T10:20:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RowelCaps](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RowelCaps](https://forums.unrealengine.com/u/RowelCaps)\
**Post date:** [November 17, 2019, 10:20am UTC](https://forums.unrealengine.com/t/ai-get-waypoints-of-path-to-target/458520/1 "2019-11-17T10:20:55Z")

</div>

Hello! I’m trying to create a AI with root motion. What I wanna do is get the p1,p2,p3, and p4 so i can calibrate the orientation and the locomotion of my character.

 ![292532-untitled-diagram1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/e/9fe534b40178b32b04ba232f0063ec664c9f5d64.png)

I browse through the document of FPath and Navigation but I did not find any functions that could get me the information i needed.

Thank you! 🙂
