# Restrict Pawn's Rotation

**URL:** <https://forums.unrealengine.com/t/restrict-pawns-rotation/487856>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine, rotate, question\
**Created:** [August 23, 2021, 7:30am UTC](https://forums.unrealengine.com/t/restrict-pawns-rotation/487856 "2021-08-23T07:30:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 23, 2021, 8:15am UTC](https://forums.unrealengine.com/t/restrict-pawns-rotation/487856/3 "2021-08-23T08:15:44Z")

</div>

Have a look at this one:

 ![346990-turret.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/5/165727f94133cbbff2147c926d27b3b1fdb8bf31.jpeg)

Script to copy:

> **[Turret with angle limit posted by anonymous | blueprintUE | PasteBin For...](https://blueprintue.com/blueprint/9oq18aj5/)**
>
> No description provided

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/9/da94506ed9628235b121326f102c4c385f84d320.gif)](https://gyazo.com/07facc8d174c94dd6103a641878c6929)

Essentially, Dot Product is an answer to most angular issues. The yellow arrow indicates the turret’s front.

* * *

Oh, and a TL is probably not the way to go about it unless you’re after something truly specific / unique / inflexible. Does not mesh well with target tracking in my head.

---

_[View the full topic](https://forums.unrealengine.com/t/restrict-pawns-rotation/487856)._
