# PeripheralVisionAngleDegrees (AI Perception)

**URL:** <https://forums.unrealengine.com/t/peripheralvisionangledegrees-ai-perception/359944>\
**Category:** AI\
**Tags:** unreal-engine, bug-report, question\
**Created:** [June 7, 2016, 2:27pm UTC](https://forums.unrealengine.com/t/peripheralvisionangledegrees-ai-perception/359944 "2016-06-07T14:27:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Napoleonite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Napoleonite](https://forums.unrealengine.com/u/Napoleonite)\
**Post date:** [June 7, 2016, 2:27pm UTC](https://forums.unrealengine.com/t/peripheralvisionangledegrees-ai-perception/359944/1 "2016-06-07T14:27:36Z")

</div>

Not 100% sure if this is a bug. But setting the PeripheralVisionAngleDegrees to 180.0f makes the enemies look in a 360 degrees angle and setting it to 90.0f makes it see in a 180 degrees angle. Pawnsensing however works differently and there 180.0f is actually 180 degrees.

So this code actually equals to a 180 degree-vision-angle (Which is also visible in both simulate and PIE-playtest when clicking on the enemy with the debug options active):

```
SenseSightConfig->PeripheralVisionAngleDegrees = 90.0f;

```

Description in the AISense\_Config.h

> /\*\* How far to the side AI can see,  
> in degrees. Use  
> SetPeripheralVisionAngle to change the  
> value at runtime. \*/

It doesn’t say that it is doing this per-eye or that this is doubled somehow. Because of this undocumented behavior + it being weird + it being different from pawnsensing makes me believe this is a bug.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [June 7, 2016, 5:03pm UTC](https://forums.unrealengine.com/t/peripheralvisionangledegrees-ai-perception/359944/2 "2016-06-07T17:03:04Z")

</div>

Hello,

I have reproduced your issue, and entered a bug report, UE-31731. Thank you for your report.

Have a great day
