# Fighting Mechanic for 2.5d Beat em Up

**URL:** <https://forums.unrealengine.com/t/fighting-mechanic-for-2-5d-beat-em-up/307180>\
**Category:** Blueprint\
**Tags:** sphere, unreal-engine, Blueprint, question\
**Created:** [February 17, 2015, 6:46am UTC](https://forums.unrealengine.com/t/fighting-mechanic-for-2-5d-beat-em-up/307180 "2015-02-17T06:46:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![D-ZarStar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d-zarstar/32/374458_2.png) [@D-ZarStar](https://forums.unrealengine.com/u/D-ZarStar)\
**Post date:** [February 17, 2015, 6:46am UTC](https://forums.unrealengine.com/t/fighting-mechanic-for-2-5d-beat-em-up/307180/1 "2015-02-17T06:46:13Z")

</div>

Hey All

So over the weekend i participated in the Gamejam and loved it, but got stuck on some parts.  
I wanted to do an old school beat em up like double dragon or battle toads and instead of doing it all 2d decided to cheat a little bit and made the 2d sprites run around in 3d. to simulate the fighting i create a sphere in the character blueprint and named it PunchSphere and then got it to check for anything over lapping and hand out damage accordingly. which i thought worked well until i gave my enemy’s a larger looking sight sphere. after that you were able to damage them from across the room or when ever they saw you.  
I’m asking if there is a better way of doing this or is there a way that i am able to target the Root Capsule directly so it’s only the size of the spritevBody that’s roughly affected?

I hope i managed to keep that clear enough to understand  
thank you in advance for anyone who can help me. it did my head in.

 ![30197-blueprintpunch.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/9/2a96338127187bc6fe03316703b27df05c668971.png)

 ![30198-player.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/8/4c8ce271ddf4946537e61c57acecddd65cb1a4d5.png)

 ![30199-enemy.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/a/baae822eb3a0052a2c5b2e07fa3ad966e972ff65.jpeg)

---

<div class="post-metadata">

**Author:** ![D-ZarStar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d-zarstar/32/374458_2.png) [@D-ZarStar](https://forums.unrealengine.com/u/D-ZarStar)\
**Post date:** [February 17, 2015, 11:24am UTC](https://forums.unrealengine.com/t/fighting-mechanic-for-2-5d-beat-em-up/307180/2 "2015-02-17T11:24:12Z")

</div>

sounds like you may be on to something i’ve had a quick go and no luck yet but i’ll try again tomorrow. way to exhausted from weekend to process or think clearly 😃

---

<div class="post-metadata">

**Author:** ![Kinekon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kinekon](https://forums.unrealengine.com/u/Kinekon)\
**Post date:** [April 27, 2015, 2:30am UTC](https://forums.unrealengine.com/t/fighting-mechanic-for-2-5d-beat-em-up/307180/3 "2015-04-27T02:30:36Z")

</div>

Any luck with this Gizmo?

---

<div class="post-metadata">

**Author:** ![D-ZarStar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d-zarstar/32/374458_2.png) [@D-ZarStar](https://forums.unrealengine.com/u/D-ZarStar)\
**Post date:** [January 6, 2016, 8:18am UTC](https://forums.unrealengine.com/t/fighting-mechanic-for-2-5d-beat-em-up/307180/4 "2016-01-06T08:18:15Z")

</div>

Fort anyone who may be looking at the same sort of thing here is what i came up with.

i changed over to the 3d way of sending trace lines to work out how far away they area and still use the “punch sphere” top decide whether or not to attack. here is the logic you’ll need.  
now the stuff missing from this picture is my combo logic which if your interested in then send me a message

 ![73077-test.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/9/d19a6e4ed85182b43b65b410a081a7eba004d75c.jpeg)

---

<div class="post-metadata">

**Author:** ![warchef.seed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@warchef.seed](https://forums.unrealengine.com/u/warchef.seed)\
**Post date:** [December 18, 2023, 2:13pm UTC](https://forums.unrealengine.com/t/fighting-mechanic-for-2-5d-beat-em-up/307180/5 "2023-12-18T14:13:08Z")

</div>

Hi there 🙂 We are building a beat 'em up game with a friend. You mentioned that you have a combo logic of your own, would you mind sharing it?

---

<div class="post-metadata">

**Author:** ![D-ZarStar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d-zarstar/32/374458_2.png) [@D-ZarStar](https://forums.unrealengine.com/u/D-ZarStar)\
**Post date:** [March 15, 2024, 8:59am UTC](https://forums.unrealengine.com/t/fighting-mechanic-for-2-5d-beat-em-up/307180/6 "2024-03-15T08:59:08Z")

</div>

Hi sorry for delay. if you are still looking for this information this is what i used.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/e/c0e2a88e029ddd6842c42cac31fc24d3e54e5f61.jpeg "Unreal Engine 4 - Character Attack Tutorial (Attack Move & Combo Attacks included)") ](https://www.youtube.com/watch?v=M1n0QQvG_Zc&t=195s)
