# Weapon Collision Component

<figure><img src="https://content.gitbook.com/content/v03IiZPaMe8fX49a9MnO/blobs/QSQWd34xlbJtrGALk0pG/WeaponCollisionsComponent.png" alt=""><figcaption></figcaption></figure>

## Using the Weapon Collision Component

The Weapon Collision Component gives AI the ability to damage targets with actual collisions from an AI's equipped weapon and can even hit multiple targets. This component is intended to be used with melee weapons.

{% hint style="success" %}
Here are the available tutorials and guides for the Weapon Collision Component.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td><p>     Applying the Weapon    </p><p>      Collision Component</p></td><td></td><td><a href="https://4021441153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv03IiZPaMe8fX49a9MnO%2Fuploads%2F1ZnlQG84Ua0aEp55qYIj%2FAddingTheWeaponCollisionComponent.png?alt=media&#x26;token=6360896a-b592-4369-9d1c-635bd1cdf971">AddingTheWeaponCollisionComponent.png</a></td><td><a href="weapon-collision-component/applying-the-weapon-collision-component">applying-the-weapon-collision-component</a></td></tr><tr><td></td><td><p>    Setting up the Weapon </p><p>     Collision Component</p></td><td></td><td><a href="https://4021441153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv03IiZPaMe8fX49a9MnO%2Fuploads%2FqBUrfOQgYpX9QoSUJx6Z%2FAdjustingWeaponCollisionCollider.gif?alt=media&#x26;token=3f204728-7093-4cd4-809c-0ae00f231708">AdjustingWeaponCollisionCollider.gif</a></td><td><a href="weapon-collision-component/setting-up-the-weapon-collision-component">setting-up-the-weapon-collision-component</a></td></tr></tbody></table>


---

# 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://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-optional/weapon-collision-component.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.
