AI Turret (Blueprint edition)
AI-controlled turrets that detect, track and fire projectiles at enemies. The aim leads the target, so it accounts for the target's direction and velocity.
This edition is pure Blueprint: no C++, no Gameplay Ability System and no plugins beyond the engine defaults. It behaves like the C++ AI Turret plugin, and ships as an asset pack you add to any UE 5.7 project.

Key features
- AI perception targeting: turrets see enemies, track them and return to their base position when they lose them.
- Lead angle calculation: shots intercept a moving target (
BFL_Turret.CalculateFiringSolution). - Teams: friend/foe detection with the engine's default team rule, through a Blueprint interface (
BPI_TeamAgent). - Health and destruction: a health component, damage states (sparks, smoke, fire), damage numbers, a health bar, and a destroyed turret that breaks apart.
- Multiplayer: health and death state replicate, and the effects show on every machine.
- No project settings: no collision channels, no
Config/files, no plugins to enable.
What's included
- Three turret skeletal meshes with Animation Blueprints for procedural aiming
BP_TurretPawn(dual barrel) andBP_TurretPawn2(single barrel), with their AI controller and projectile- Niagara effects for muzzle flash, projectiles, damage states and the explosion; sound effects
- The example map
L_TurretExamplewith TeamPads and turret variants - Offline documentation in the pack:
Content/AITurret/Documentation/QUICKSTART.md
Differences from the C++ plugin
| C++ plugin | Blueprint edition |
|---|---|
| UE 5.4 – 5.6, code plugin | UE 5.7, asset pack in Content/AITurret |
Teams through IGenericTeamAgentInterface | Teams through BPI_TeamAgent; GetTeamAttitude on the controller decides |
| Damage and death through GAS | Damage through the engine's Apply Damage, health in AC_Health |
| Projectiles fly until they hit | Projectiles expire after 5 seconds |
| Dual barrels fire parallel | Dual barrels converge on the target |
System requirements
- Unreal Engine: 5.7. The assets are saved with 5.7 and do not open in older versions.
- Tested on: Windows.
- Dependencies: none beyond the engine defaults (Niagara, Enhanced Input).
Next steps
- Quick Start: install, play the example map, place a turret.
- Example Map: what the demo shows and its controls.
- Customization: teams, tuning, damage, multiplayer.
- Blueprint Reference: every Blueprint, property and function.
Support
- Discord Server: direct support and community