First Person Melee Combat | Unity Tutorial

If your wondering how to make a first person melee combat system that includes a visual effect decal, character controller, simple raycasting, animations and hit detection, heres the place!
Project Download ► github.com/ItsPogle/Unity-Fir...
Mentioned Creators:
Taro Dev ► • Animate like a Programmer
Natty Creations ► • #1 FPS Movement: Let's...
Discord ►► / discord
Twitter ►► / itspogle
Intro: 0:00
Setup: 0:28
Character Controller: 0:46
Attacking: 2:17
Animations: 4:03
Visual Effect Decal: 5:31
Finalising & Enemy Health: 6:33
Outro: 7:11
#indiedev #unity #gamedev #gamedevelopment #indie

Пікірлер: 31

  • @irarelyupload6930
    @irarelyupload693011 ай бұрын

    This is the most succinct use of code for melee combat I've seen so far and it even prevents goofy bugs like attacking multiple times per hit. Well done and thank you!

  • @trispytreems
    @trispytreems Жыл бұрын

    This is perfect, the simplicity really sells it for me. I'll be adding this and testing out some bleed mechanics also, as my first attempt at any kind of combat system in Unity.

  • @budazenYT
    @budazenYT Жыл бұрын

    The start of a legend 💕

  • @ahh170
    @ahh170Ай бұрын

    this guy is goated. - not asking for credits - free to use and well-prepared assets i will make sure to mention Pogle each time someone talks to me about my melee stuff!

  • @Abdulwahab-vb6he
    @Abdulwahab-vb6he Жыл бұрын

    welcome to youtube , may you grow more

  • @dedz
    @dedz5 ай бұрын

    Really nice tutorial. I am adapting what i already had to your tutorial and its working good!

  • @KyleWithAnM69
    @KyleWithAnM69 Жыл бұрын

    This is pretty good man, thanks!

  • @narratephil
    @narratephil Жыл бұрын

    Love this. Keep going!

  • @nikolastanojevic6082
    @nikolastanojevic6082 Жыл бұрын

    Can't thank you enough man. Keep it up!.

  • @mr3shba
    @mr3shba Жыл бұрын

    WOW This is a really great video !

  • @MegaWallrunner
    @MegaWallrunner10 ай бұрын

    Very good tutorial, it made me subscribe to the channel :D

  • @adam_bourbia10
    @adam_bourbia10 Жыл бұрын

    so usefull thx man !

  • @NaviYT
    @NaviYT Жыл бұрын

    I FOUND HIM! I FOUND THE GOAT! Amazing tutorial man thank you :D

  • @Crystal_guy
    @Crystal_guy3 ай бұрын

    ❤❤❤❤❤❤❤❤❤❤ tnx for the idea

  • @nunusvenus7945
    @nunusvenus79457 ай бұрын

    i dont know why i getting an issue where after holding the left button to attack, the player movement suddenly broken. before attacking, the movement is fine

  • @connorohare229
    @connorohare229 Жыл бұрын

    Can you do a video that features blocking and bashing mechanics with cool down? I find your content helpful 😊

  • @Yoni123

    @Yoni123

    8 ай бұрын

    Did you ever figure out blocking and bashing?

  • @outhander3941
    @outhander3941 Жыл бұрын

    is simple delay better than animation event?

  • @DUBIOUS_.
    @DUBIOUS_. Жыл бұрын

    noice

  • @davibentim6080
    @davibentim60807 ай бұрын

    Liked and subscribed instantly when you provided the github repo. Too many tutorials out there with no repo.

  • @juicedup14
    @juicedup14 Жыл бұрын

    Dang i was hoping to see a combo system

  • @OctopusDeveloper667

    @OctopusDeveloper667

    10 күн бұрын

    it is a combo system you can still remove the raycasting part and only use the animation index system then make your own system to actually deal damage

  • @Yoni123
    @Yoni1238 ай бұрын

    Can you make this for Godot?

  • @woxksjq3417
    @woxksjq3417 Жыл бұрын

    mannn wheres the old clips

  • @Its_Pogle

    @Its_Pogle

    Жыл бұрын

    Paused development on the game sadly, but hopefully will bring it back in the near future!

  • @ecenjoyer
    @ecenjoyer6 ай бұрын

    Doing this on raycast is a terrible approach, BoxCast is much better following the weapon in the animation, now you do "empty" swings and they doesn't matter

  • @thewaffle3d400

    @thewaffle3d400

    6 ай бұрын

    Any suggestions on using BoxCast? I'm working on doing a melee combat system and can't seem to find a good tutorial/tips to follow

  • @YoutuberUser002

    @YoutuberUser002

    2 ай бұрын

    Wait what? Cus I literally just added a knife melee weapon in my game and it's using a raycast and I'd like something better but no idea what but this sounds promising

  • @Ytsssss364
    @Ytsssss36410 ай бұрын

    if there was a mechanic that had the Enemy retreat one or two paces after the first, second strike - a la Fallout 76 melee combat, this tutorial would be *complete* but alas

  • @shengalabu8050
    @shengalabu8050 Жыл бұрын

    I don't wanna be mean but that looks ugly ngl

  • @shengalabu8050

    @shengalabu8050

    Жыл бұрын

    @Knight I know that. You think I dont know how to read? Are you so foolish that you don't know what my comment implies and you have to go out on your way to think that you're right? Next time, try commenting with your brain, okay.