Melee weapons are widely used in close- to medium-ranged combat. This Melee Weapon community component allows you to define the basic settings of your melee weapon. The melee weapon is a piece of equipment that can be stored and managed in the inventory.
|Add attack||Determines the amount of attack value that a melee weapon adds. Ranges from 1 to 999999. Default: 46.|
|Bone point||Determines which hand the melee weapon's handle is held in|
|Position||The melee weapon offset from the bone point's position|
|Rotation||The melee weapon offset from the bone point's rotation|
|Duration||The period of time of the attack|
|AnimationPicker||Determines the source of the attack animation to be played during the attack:
|Pick Animation||Choose a built-in animation clip if AnimationPicker is set to BuiltIn; or an animation clip from Asset Library or uploaded if AnimationPicker is set to Select.|
|Audio||Choose the audio clip to be played during the attack|
A Melee Weapon component can only be added to one tool.
If you attach the legacy Melee Weapon community component released before August 11, 2023 to melee weapon models, these melee weapons can still be used in-game but will not become equipment that can be stored and managed in the game's inventory.