Skip navigation
First real look at my sword fighting hobby project - Responsive, accurate, freeform combat using…
0:00 / 1:10

First real look at my sword fighting hobby project - Responsive, accurate, freeform combat using…

Caleb Longmire

@clongmire423.5K followers

Visit on X
430 likesDownloadOriginal post

22,341 views

First real look at my sword fighting hobby project - Responsive, accurate, freeform combat using physics that are fun, not frustrating, with intuitive controls that are easy to learn, hard to master. A lot of physics based sword fighting games have come out lately but IMO none strike that difficult balance between control, animation and physics...trying my best to pull it off here. This early test is hacked together but it's already showing promise. Feels good to attack and defend and really gives you the feeling that you are fighting with a sword; distance, timing, weapon placement, etc. all matter. Anyway, very WIP with lots to do...and for once, don't look at the feet! I'll take care of that someday ;) #UE5 #gamedev #physics #swordfighting

30 Comments

Comments from the original post on X (Twitter)

  • Ryan Muoio's profile picture

    @RyanMuoio

    This is very satisfying to watch.

    2 likes

  • Caleb Longmire's profile picture

    @clongmire42

    Even more satisfying to play!

    2 likes

  • Lukas Brkovic Leighton's profile picture

    @bewoxito

    Been waiting for a game like this for years

    1 like

  • Caleb Longmire's profile picture

    @clongmire42

    Same :D

    1 like

  • WHiTE-SHiRO's profile picture

    @Wwhite_shiroO

    Wow, cool! That's really good! I'm doing something pretty similar. Are you using control rig physics + fullbodyIK in your systems?

    1 like

  • Caleb Longmire's profile picture

    @clongmire42

    Physics yes, but not with control rig. No IK or anything yet, perhaps I can use that in the future for subtle assistance in blocks or certain strikes.

    1 like

  • WHiTE-SHiRO's profile picture

    @Wwhite_shiroO

    I tried adding the Physical Animation Component to my setup, but it conflicts with the CtrlRig physics. So we can probably only use one or the other. (Likely race conditions or a different setup required; I didn’t look deeply.) BTW, for the leading foot (left forward vs. right forward), I started learning HEMA just to figure out sword fighting footwork. It really helps—100% recommend.

  • Caleb Longmire's profile picture

    @clongmire42

    Footwork is definitely something I've studied. I want to have independent control over movement and swinging, which means no full body animations, so I definitely have work to do to make them look unified during gameplay...but I have ideas! And HEMA is certainly an inspiration but not something I want to adhere to 100%. Due to the nature of controlling a character abstractly, trying to perfectly replicate historical techniques while still using physics and freeform control is a fools errand. Rather, I want to convey the FEELING of sword combat through movement, timing, and being able to put your sword where you want.

    1 like

  • Rodrigo's profile picture

    @RodroEq

    I think I watched this like 30 times without even noticing. I curious how you handle when the sword gets block, because I can see that with no contact it does the full swing, do you just stop the montage on the contact and blend back with some physics or is it a got block anim?

    1 like

  • Caleb Longmire's profile picture

    @clongmire42

    Great question, I'm still working out exactly what I should do. For now, the montage continues but I swap to a weaker physics profile which helps to keep the sword at the blocked position. I did try swapping to a "blocked" version of the attack, which worked, but that means doubling my animation set. Might be worth it but also want to see if I can achieve it via some other means first. I have just tested parries and do think I'll need some extra anims for that to sell the knockback, and I also want to implement sweeps and traps, so we'll see. It's a delicate balance of how much should be done with just physics or with animation.

    3 likes

  • Chosker's profile picture

    @ChoskerSanz

    Looking nice

    1 like

  • Dave at DeepThink Labs's profile picture

    @DeepThinkLabs

    This looks great so far!

  • LithiumKid's profile picture

    @lithiumkids

    Looks great!

  • Vladimir Cazacu | 𝕧𝕠𝕝𝕠𝕕▿'s profile picture

    @volodXYZ

    Any tips on getting the ragdoll to feel weighty? And any insight into your ragdoll setup would be nice. Cheers, loving what you're cooking. Put up a steam page so people can wishlist if you intend to make it into a game.

  • Brian Jordan's profile picture

    @bcjordan

    Looks really nice! Joining physics + animation + masterable controls is truly an art

  • Christofer's profile picture

    @Carbudzi

    The follow through (motion back to stance after landing the hit?) looks really satisfying, which I feel a lot of animation struggles with

  • Caleb Longmire's profile picture

    @clongmire42

    Ha, happy to hear it. These are all very rough anims whipped up quickly in @cascadeur3d. As time goes on I will work on proper stance variations (left vs right foot forward), transitions between them, and unique attack anims for each.

    2 likes

  • Nat's profile picture

    @__NatP

    Lot of For Honor vibes from this one.

  • Digital Drip's profile picture

    @DigiDripGames

    Similar controls to kcd2? Looks great btw

  • Caleb Longmire's profile picture

    @clongmire42

    Nope, closest comparison would be chivalry for attacks and mount and blade for defense but more analog, allowing you to flow through the defense poses rather than being stuck in one. And no hard lock on system.

    2 likes