# Make AI follow Spline

**URL:** <https://forums.unrealengine.com/t/make-ai-follow-spline/550789>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint, UE4-27\
**Created:** [May 6, 2022, 8:38pm UTC](https://forums.unrealengine.com/t/make-ai-follow-spline/550789 "2022-05-06T20:38:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doeglas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/doeglas/32/563052_2.png) [@Doeglas](https://forums.unrealengine.com/u/Doeglas)\
**Post date:** [May 6, 2022, 8:38pm UTC](https://forums.unrealengine.com/t/make-ai-follow-spline/550789/1 "2022-05-06T20:38:53Z")

</div>

Goodday!

I’ve been working on a system to move my AI Ghost with the use of a spline. I’ve got this code, but for some reason it’s not working.

AI Controller:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/c/3ac85cb5acbcac6de443c27944f091dc0131e985.png)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/d/3bda7395d35b1913612e4bba2d211ec67ffb113e.png)

Character BP:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/7/91709e607986554f647e2a303b24ae665a21a464.png)

---

<div class="post-metadata">

**Author:** ![Doeglas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/doeglas/32/563052_2.png) [@Doeglas](https://forums.unrealengine.com/u/Doeglas)\
**Post date:** [May 7, 2022, 11:41am UTC](https://forums.unrealengine.com/t/make-ai-follow-spline/550789/2 "2022-05-07T11:41:27Z")

</div>

Can’t really find any video tutorial regarding this issue. Only got this, [Make an Ai Follow a Spline in Unreal Engine 4 - YouTube](https://www.youtube.com/watch?v=UIF1PcmZkGA) but he does it exactly the same as me, only it does work for him.

---

<div class="post-metadata">

**Author:** ![Doeglas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/doeglas/32/563052_2.png) [@Doeglas](https://forums.unrealengine.com/u/Doeglas)\
**Post date:** [May 7, 2022, 2:21pm UTC](https://forums.unrealengine.com/t/make-ai-follow-spline/550789/3 "2022-05-07T14:21:56Z")

</div>

Nevermind, I only needed to add a Nav Mesh Bounds Volume and everything worked perfectly!
