Download

Handling a melee weapon swing with the default 3rd person character - Animations

I’m at a point where I want to implement some melee combat mechanics in my game, but I don’t know how to handle it. My biggest blocking factor seems to be that I do not have an animation to handle swinging a weapon. Animation is not something I have any real experience with and I wasn’t expecting to be blocked by it.

I have created an actor for my weapon and I have attached it to the static mesh of my character blueprint using a socket at the hand. I think I can handle the hit tests to be performed on the weapon itself when swinging it. I just don’t know how to swing it.

Is there any way I can do this without exporting the FBX assets and loading it into blender? I don’t mind a hack-y solution as long as I can avoid fumbling around with animations for days. I just want to create the mechanics for swinging the weapon so I can implement the core of melee combat - it doesn’t have to look pretty as long as I can go back later and add the animations to accompany it.

If you want to avoid fumbling around for days, then I recommend you buy one of the many melee animation packs on Marketplace. e.g. https://www.unrealengine.com/marketplace/sword-shield-animset-pro

If you want to make your own in UE, you can try this: https://www.unrealengine.com/marketplace/allright-animation-rig

Otherwise, use Blender/Max/Maya to make them. Unfortunately fumbling for days may be optimistic… :wink:

Yeaaaaaah, I guess grabbing something from the marketplace would probably be a smart way to go. Thanks!