Easy Turret AI Script

MobFarm

(5)
$9
Publisher MobFarm
File size 1.76MB
Number of files 28
Latest version 1.1.2
Latest release date 2023-10-16 12:09:11
First release date 2022-02-24 07:31:11
Supported Unity versions 2018.4.2 or higher

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.

Top Publisher Assets