# Weapon Collision

## Basics

This layer adjusts weapon position and rotation to avoid collision with objects in game world.

<figure><img src="broken-reference" alt="" width="330"><figcaption></figcaption></figure>

## Settings

Settings for weapon blocking are defined in a Weapon Anim Asset:

<figure><img src="broken-reference" alt="" width="348"><figcaption></figcaption></figure>

* **Weapon Length** - raycast length.
* **Start Offset** - ray start point offset.
* **Threshold** - max allowed clipping distance, if exceeded, a Rest Pose is activated.
* **Rest Pose** - applied whne threshold is exceeded.


---

# 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://kinemation.gitbook.io/fps-animation-framework/fundamentals/animation-layers/weapon-collision.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.
