# Pathfinding prevent 180 turn

**URL:** <https://forums.unrealengine.com/t/pathfinding-prevent-180-turn/474362>\
**Category:** AI\
**Tags:** ai-navigation, pathfinding, path-follow, unreal-engine, UE4, question\
**Created:** [November 12, 2020, 1:59pm UTC](https://forums.unrealengine.com/t/pathfinding-prevent-180-turn/474362 "2020-11-12T13:59:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MementoMori\_0801](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MementoMori\_0801](https://forums.unrealengine.com/u/MementoMori_0801)\
**Post date:** [November 12, 2020, 1:59pm UTC](https://forums.unrealengine.com/t/pathfinding-prevent-180-turn/474362/1 "2020-11-12T13:59:00Z")

</div>

Hi, I am working on a `3D Pacman Game` using `Blueprints` and the UE4 standard NavMesh pathfinding. It works all fine, but i can’t get the pathfinding to **prevent 180 degree turns**. In Pacman, the ghosts can’t directly turn around and have to find another path instead. Does anyone have an Idea how to achive this? (im a complete path finding Noob, but I could change the pathfinding system if required)

Thanks for helping
