Description

Values that are larger than 180 for the Pawn Sensing component's Peripheral Vision Angle setting are being ignored. If they are higher than 180, the pawn will act as if it was set to 180.

Found in 4.12 Preview 5 binary. Reproduced in 4.11.2 binary and Main CL 2989681.

Steps to Reproduce

1. Open the editor
2. Create a new AI Controller
3. Add a Pawn Sensing component
4. In the details panel with the component selected, change the Peripheral Vision Angle to 270.
5. Create a new Pawn blueprint
6. Assign the AI Controller you created to the pawn
7. Give the Pawn a cube component and an arrow so you know which way it is facing
8. In the AI Controller, add the On See Pawn event
9. Add a print string node and connect the Pawn pin of the On See Pawn event
10. Place the pawn in the level
11. PIE

Result: The pawn's vision angle is only 180 degrees. If you get outside of that 180 degree cone it will not print the character's name, even though the Peripheral Vision Angle is set to 270.

Expected: The value for the angle would be taken into account and the pawn would be able to see you as long as you were within that cone.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

10
Login to Vote

Cannot Reproduce
ComponentUE - AI
Affects Versions4.114.124.13
CreatedMay 26, 2016
ResolvedApr 18, 2017
UpdatedApr 27, 2018