Hi everyone,
I’ve released **Smart Perception**, a drop-in “notice” component for enemies and NPCs (C++ plugin, fully usable from Blueprint). Add **Perception Sensor** to an enemy and **Perception Target** to the player, press Play, and the enemy starts noticing the player. Your own AI (Blueprint, Behavior Tree or C++) reads the result through functions and events and decides what to do. Movement is intentionally not included, so it fits any AI you already have.
**What makes it different from a single line trace**
- **Partial cover:** each target has several check points (feet, chest, head - sockets, bones or components). A player crouching behind a low wall is still *partly* visible, and the awareness meter rises with how much of the body is seen.
- **Central and peripheral vision:** the meter rises fastest straight ahead and close, more slowly at the edge of the view.
- **Three awareness states** (Unaware → Suspicious → Alert) with hold time, decay and a margin, so the state doesn’t flicker at the edge of a wall.
- Every setting works with its default value, and Blueprint events let you wire reactions without code. No input plugin dependency.
**Lite (free)** - vision, the awareness meter, Blueprint events and an editor viewport display.
https://www.fab.com/listings/394b12a0-78f8-470e-bcc5-0218e851a571
**Pro** - everything in Lite (same plugin name, classes and settings - levels and Blueprints keep working) plus memory, hearing (one Emit Noise node), touch, alert calls between allies, a distance curve, co-op target selection, work spread over frames for many enemies, and an in-game debug display / tuning panel.
https://www.fab.com/listings/ab734007-2ae6-4937-927d-8da8e1eb9e2f
Setup guide (Lite, a few minutes from install to a working guard):
Overview (Pro):
More videos:
- Lite overview: https://youtu.be/Xk8i9PZxtCE
- Lite short: https://youtu.be/OdIGHwVC3cc
- Pro setup guide: https://youtu.be/csn4rUaDtyI
- Pro short: https://youtu.be/6ODQaQLS4ns
Supports UE 5.3 / 5.5 / 5.7 / 5.8. Documentation in English and Japanese:
Questions, feedback and feature requests are very welcome in this thread.