---
description: 1.5.0
---

# MMelee

## Overview

All the melee weapons will be managed by this component. Swords, axes, spears etc.

All the common properties of a weapon remain the same.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FYe9NNBM2pIuyTS9zHTXU%2Fimage.png?alt=media&#x26;token=a0eeac79-92c6-47d0-a31c-2b83d5a5daa1" alt=""><figcaption></figcaption></figure>

## Requirements

Melee weapons require a collider set as a trigger to interact with other objects and characters

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F7sahMrM53umHARaQIVpF%2Fimage.png?alt=media&#x26;token=d1492291-2ed8-43b8-9552-9ab68a1ca74d" alt=""><figcaption></figcaption></figure>

## Parameters

### Ignore Static Objects

Do not interact with objects where Set Static is true

### Prevent Duplicate Damage

Prevent damaging the same damageable twice in a single attack

### Melee Trigger \[Required]

Reference for the collider doing all the interactions &#x20;

### Ground Attacks: Ground Combo

Set the mode used on the Combo Manager to apply combos with the weapon while it is on the ground.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FHqtanzdRiTRHIM0eqSv9%2Fimage.png?alt=media&#x26;token=d679126a-4225-4266-b8aa-0dbe1542c8e7" alt=""><figcaption></figcaption></figure>

### Ground Attack Abilities

If the ground combo is Empty, you can select which abilities of the Weapon Mode will be used to attack. These abilities will be picked randomly

### Riding Attack Abilities

While the Character is mounted, use a different set of Abilities.

### Use Camera Side

While mounting an animal, the attack on the weapon be played on the side the camera is pointing relative to the horse (E.g. the rider will swing the sword on the right of the horse if the camera is on the left side )

### Invert side

The Attack will be inverted while mounted.



