> For the complete documentation index, see [llms.txt](https://docs.bestway.com.ua/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bestway.com.ua/modeling/vehicle-model-setup-pipeline/bone-hierarchy-in-vehicle-models/turret.md).

# 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="https://2358506489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UV9d5d9aTZPISbocWyo%2Fuploads%2FzGAauNsfuSnJXboG2c6x%2FTurret%20bone.png?alt=media&amp;token=b7b3d185-57b3-4d7a-ab52-8577336c82bb" 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="https://2358506489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UV9d5d9aTZPISbocWyo%2Fuploads%2FvEJU5QhPZjzezouUPtuG%2Fimage.png?alt=media&amp;token=1b36beb8-0c86-4e62-b5e6-5b58125d18c3" 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;
  * `turret_vol`: defines the visible turret shape and manages its collision with the game environment.

*Last updated 4 months ago.*
