# How to make a simple first person melee attack

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-simple-first-person-melee-attack/349731>\
**Category:** Character & Animation\
**Tags:** attack, unreal-engine, melee, question\
**Created:** [March 7, 2016, 11:24am UTC](https://forums.unrealengine.com/t/how-to-make-a-simple-first-person-melee-attack/349731 "2016-03-07T11:24:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7e3e27bc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7e3e27bc](https://forums.unrealengine.com/u/anonymous_user_7e3e27bc)\
**Post date:** [March 7, 2016, 11:24am UTC](https://forums.unrealengine.com/t/how-to-make-a-simple-first-person-melee-attack/349731/1 "2016-03-07T11:24:00Z")

</div>

So I want to create an attack animation in Unreal Engine 4 (similar to the punching/melee attack in the Halo games) so how would I go about doing this sort of thing? I’ve seen plenty of tutorials for weapons, especially for third person, but how would I attack an enemy with the butt of the gun like in a game such as Halo? I already have a simple AI controlled enemy with a health system for myself and the enemy, as well as a melee animation, but how would I make the attack hit the enemy?

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [March 7, 2016, 12:42pm UTC](https://forums.unrealengine.com/t/how-to-make-a-simple-first-person-melee-attack/349731/2 "2016-03-07T12:42:34Z")

</div>

If you want a custom animation where the player uses his weapon to hit an entity, then this requires a related animation for it. If you just want to add basic attack you need to setup an AnimationBlueprint for it and inside your player blueprint a attack node function, like On Input Key Attack, play Attack Animation1. This YT channel has some good tutorials for setting up attacks (3rd person player, but should be similar to FirstPerson).

> **[UE4 Combat](https://www.youtube.com/user/immigrantinc/videos)**
>
> I make Unreal Engine 4 blueprint tutorials, 2D freelance artist, and creator of Kukomi's Adventure.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7e3e27bc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7e3e27bc](https://forums.unrealengine.com/u/anonymous_user_7e3e27bc)\
**Post date:** [March 7, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/how-to-make-a-simple-first-person-melee-attack/349731/3 "2016-03-07T12:48:48Z")

</div>

Thank you very much! I’ll check it out later when I get back to my computer in a few hours. I already have the animation, so that’s good.

---

<div class="post-metadata">

**Author:** ![yoLud](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yoLud](https://forums.unrealengine.com/u/yoLud)\
**Post date:** [May 3, 2022, 9:04pm UTC](https://forums.unrealengine.com/t/how-to-make-a-simple-first-person-melee-attack/349731/4 "2022-05-03T21:04:42Z")

</div>

Hi, are your melee attack animations free? Where did you get it from?

---

<div class="post-metadata">

**Author:** ![MondRubberduck](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mondrubberduck/32/479670_2.png) [@MondRubberduck](https://forums.unrealengine.com/u/MondRubberduck)\
**Post date:** [May 4, 2022, 6:55am UTC](https://forums.unrealengine.com/t/how-to-make-a-simple-first-person-melee-attack/349731/5 "2022-05-04T06:55:01Z")

</div>

[Mixamo](https://www.mixamo.com/) is a great resource for animations. It does require a Adobe Sub, just… get the 14 day trial ^^

---

<div class="post-metadata">

**Author:** ![yoLud](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yoLud](https://forums.unrealengine.com/u/yoLud)\
**Post date:** [May 4, 2022, 8:19am UTC](https://forums.unrealengine.com/t/how-to-make-a-simple-first-person-melee-attack/349731/6 "2022-05-04T08:19:13Z")

</div>

I know mixamo is great, but it doesn’t have an animation of a gun waving an elbow ,sad (
