# Turret

## Main turret bone

The `turret` bone represents the visible part of the hull corresponding to a tank's turret.\
It is linked to `body` bone.

<figure><img src="/files/BE1jNvxtIlO7CO9PMpU6" alt=""><figcaption><p>Turret bone linkage to the body bone</p></figcaption></figure>

If the real-life counterpart has rotation functionality, the `turret` bone operates using inverse kinematics.

**Properties of the `turret` bone:**

<table data-header-hidden><thead><tr><th width="210">Property</th><th>Description</th></tr></thead><tbody><tr><td><code>poly</code></td><td>Makes the turret visible.</td></tr><tr><td><code>ID=turret</code></td><td>Identifies the turret.</td></tr><tr><td><code>Animation</code></td><td>Defines animations for destruction and restoration (if applicable).</td></tr><tr><td><code>IKSpeed=&#x3C;value></code></td><td>Sets the rotation speed of the turret (if rotation is implemented).</td></tr><tr><td><code>IKType</code></td><td>Specifies <code>revolute</code> if turret rotation is supported.</td></tr><tr><td><code>IKTerminate</code></td><td>Locks turret rotation.</td></tr><tr><td><code>IKMin=&#x3C;value></code> / <code>IKMax=&#x3C;value></code></td><td>Defines turret rotation limits (if applicable).</td></tr></tbody></table>

<figure><img src="/files/tszzCFBnryVH0LftIiqs" alt="Illustration of turret bone properties"><figcaption><p>Illustration of <code>turret</code> bone properties</p></figcaption></figure>

## Checklist of possible elements linked to the `turret` bone

* **Primary bones**:
  * `rot_gun`: the main gun of the turret.
* **Secondary bones**:
  * `detail`:  visual detail, if specified by the model's design;
  * `shield`:  additional armor part, if specified by the model's design;
  * `enumerator`, if the vehicle model typically features an **Identification Number** on the turret);
  * `cover`.
* **Helper bones**:
  * Machine gun bones (if specified by the model's design);
  * `gunner2`:  the position for the anti-aircraft gunner;
  * `fxfire2`:  effector for spawning special effects like turret fire;
  * &#x20;`turret_vol`:  defines the visible turret shape and manages its collision with the game environment.

*Last updated 4 months ago.*


---

# 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.bestway.com.ua/modeling/vehicle-model-setup-pipeline/bone-hierarchy-in-vehicle-models/turret.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.
