Easy Turret AI Script – Published By MobFarm
New in 1.0.2
Added support for NavMeshAgent velocity.
Features:
- Streamlined design for maximum compatibility with existing framewor…

Keywords:
AI, turret controller, lead aim, ballistic, 2-axis, ballistics, Script, turret, parabolic, intercept
Short Description:
New in 1.0.2
Added support for NavMeshAgent velocity.
Features:
- Streamlined design for maximum compatibility with existing framewor…
Rating:
Discount: None
Asset Title: Easy Turret AI Script
Publisher: MobFarm
Category: tools, ai
More Details about this asset:
New in 1.0.2
Added support for NavMeshAgent velocity.
Features:
- Streamlined design for maximum compatibility with existing frameworks, weapons, and art.
- Custom editor that includes visual arc references in the scene view. Supports multi-object editing.
- Two-axis system: separate rotator and elevator objects.
Multiple aim modes
- Direct mode aims directly at target – good for laser beams.
- Intercept mode to hit moving targets using linear intercept calculation.
- Ballistic mode to aim a projectile affected by gravity.
- Ballistic + Intercept aim to use a projectile affected by gravity to hit a moving target.
- Ballistics can use high arc or low arc solutions. Works with varying gravity strengths, even reverse gravity!
Universal placement
- Tracking is independent of turret orientation, motion, or parenting.
- Place turrets on any stationary or moving objects, at any angle – even turrets within turrets within turrets!
Additional Features:
- Base, rotator, elevator, and gun mounts do not have to be positionally aligned, allowing for creative and unusual turret styles.
- Separate turn and elevation rates.
- Rotation and elevation arc limits.
- Arbitrary at rest position.
- Audio support for movement sounds that change pitch and volume based on rotation speed.
- Built-in functions to ask if the turret is aimed at the target, if a target is within arc limits, and more.