# Turret Controller

&#x20;*Perfect for any kind games, the redesigned turret controller is now highly customizable including the arc of fire handles and several aiming algorithms.*

![](https://3975174601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAkhY-TGk1rq9Rxq3Nq%2F-MAkouKXcQiL6P7OGNRn%2F-MAkst6AcVwaY3ZVWlvh%2Fimage.png?alt=media\&token=02cc383a-a7d0-4014-8350-2d4ac0e8bdfe)

**Before a turret will target anything, you must setup a few things and specify a transform of an object to aim. Let’s have a look at the new options we’ve added to the turret controller with this update:**

**Debug Target** – A transform of an object the turret will aim at

**Mount** – Specifies the transform of the horizontal tracking component along the heading plane

**Swivel** – Specifies the transform of the vertical tracking component along the elevation plane

**Heading tracking speed** – The rate at which the turret can rotate towards target on the horizontal plane

**Elevation tracking speed** – The rate at which the turret can pivot towards target in the vertical plane

**Heading limit** – The arc of fire along the horizontal plane. The editor gizmo marked with red

**Elevation limit** – The arc of fire along the vertical plane.  The editor gizmo marked with blue

**Smooth controlling** – Enables the interpolated tracking algorithm and variable tracking speed. If disabled, the fixed angle rotation is applied

**Debug draw** – Whether to draw a debug line between the swivel center and the far end point

**Animators** – Barrel animator list. A subject to improve over the course of the next update<br>
