# 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.*

![](/files/-MAkst6AcVwaY3ZVWlvh)

**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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.forge3d.com/sci-fi-effects/turret-controller.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
