# Grenades Mesh Setup

The first step to adding your own Grenade is preparing and assigning the correct mesh.

Start by selecting any grenade model you want to use. This can be your own asset or one downloaded from external sources. For this example, a weapon model from [Sketchfab](https://sketchfab.com/3d-models/grenade-0e8cc4f14577422d9d2b9d0a2e174680) is used.

<figure><img src="/files/4Gai6t5E1JpMrfJfedpU" alt=""><figcaption></figcaption></figure>

## **1. Prepare the Mesh**

### **1.1 Separate the Model**

Your Grenade should be divided into logical parts:

* Base (main weapon body)
* Pin
* Lever&#x20;

If your model is a single mesh:

* Separate these parts in your 3D software (Blender, Maya, etc.)
* Export them as individual meshes

***

### **1.2 Set the Base Mesh Pivot (IMPORTANT)**

The pivot of the **base mesh** must be placed correctly.

* Move the pivot to the **bottom of grenade**
* This ensures:
  * Easier positioning inside Unreal

<div align="left"><figure><img src="/files/ZQ9Dg805H3c6O8P1n0Gg" alt="" width="455"><figcaption></figcaption></figure></div>

### **1.3 Other Parts**

* Keep pivots of attachments clean & Centred
* Ensure they align correctly when attached to the base weapon

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td>Lever</td><td><a href="/files/zKRKUOEya34H25SNjNQU">/files/zKRKUOEya34H25SNjNQU</a></td></tr><tr><td>Pin</td><td><a href="/files/mtGFfSSggiybHzYP9Tss">/files/mtGFfSSggiybHzYP9Tss</a></td></tr></tbody></table>

## **2. Import the Mesh**

* Import your weapon model into Unreal Engine \
  ( Recommended import path = AVR\_Template -> Art -> Create Folder of your weapon name )
* Make sure it includes:
  * Skeletal Mesh & Static Mesh (recommended)
  * Textures and Materials
* All Imported Mesh Should Look like attached Image


---

# 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://voxel-vision.gitbook.io/advanced-vr-template/grenades/grenades-mesh-setup.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.
