Punching With Random Animations, Damage Dealt, Death And SFX - Unreal Engine 4 Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 233

  • @NickFehlinger
    @NickFehlinger 2 ปีที่แล้ว +8

    I seriously can't even begin to tell you how much better your tutorials are than 99.999999999% of all the stuff on TH-cam. Finding this channel has seriously made building my game not just possible but fun and not frustrating. THANK YOU!!!

  • @dual4025
    @dual4025 3 ปีที่แล้ว +15

    I love that you went over the blueprint at 14:49 It really helps with understanding exactly what we just created. Awesome tutorial!

    • @Chainless_Slave7
      @Chainless_Slave7 2 ปีที่แล้ว +2

      Its the quality of a good teacher.

  • @frankie3351
    @frankie3351 3 ปีที่แล้ว +11

    In 3 days I have learned and made more progress on actually making a game than I have in the 5 years i've been interested in game dev. Thanks to literally 3 of your videos. And you have one for everything I can think of... "Thank you" is a huge understatement dude. You fuckin rule

  • @bobdole2271
    @bobdole2271 22 วันที่ผ่านมา

    Nice! so many tutorials out there about this but yours is the only that worked! Thanks!

  • @stevenwynn819
    @stevenwynn819 4 ปีที่แล้ว +3

    Fantastic! Between this lesson and your earlier one on auto aiming you've shown a lot of what someone would need to build a Dark Souls type combat system.

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว +1

      Thank you! Oh wow I suppose I have, that's good then for some people heh.

  • @thegiantguy
    @thegiantguy 3 ปีที่แล้ว +1

    Thank you so much for your tutorials, finished university with so many of your videos referenced in my final project

  • @icookiebit8601
    @icookiebit8601 2 ปีที่แล้ว

    man you are a lifesaver, just such well put together content, you are severely underrated

  • @TNCROCKSTR
    @TNCROCKSTR 3 ปีที่แล้ว +2

    OMG it worked better than other tuts on yt tysm

  • @warfighter4129
    @warfighter4129 2 ปีที่แล้ว +6

    For anyone who has the AI react multiple times during a player`s swing animation, here`s the solution I came up with. Still trying to figure out how to stop the Ai from reacting to an impact during their dying animation.
    Step 1. Create a new Boolean variable in your Ai Blueprint, name it "Is Punched?"
    Step 2. Place a new Branch just before the "Play sound at location box"; this box is for the Ai Impact Sound.
    Step 3. Attach a "Get Is Punched?" as the new Branch`s condition.
    Step 4. Place a "Set Is Punched?" box after your new Branch. Connect this to the false outlet. Set the "Set is Punched?" to a check-mark.
    Step 5. Connect "Set is Punched?" to the previously noted "Play sound at location box".
    Step 6. Place another "Set Is Punched?" box after the "Set Health" box. "Set Is Punched?" WITHOUT a check-mark leave and connect these together.
    Step 7. Compile and Save. Press Play!
    Goodluck Gamemakers!

    • @studiotkt2991
      @studiotkt2991 2 ปีที่แล้ว

      Sorry if i'm necroposting being a month old, but you can create an integer, say "is dying". The transition into death, get the integer and check if its 0, if its zero add 1. If i trys to refire, it wont because your integer is now greater than 1. does that make sense?

  • @kingstoncottone2516
    @kingstoncottone2516 4 ปีที่แล้ว +2

    Finally a punching tutorial! Thankyou so much, so useful

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว +2

      No problem, happy to help! :)

  • @kinect20
    @kinect20 3 ปีที่แล้ว +3

    Thank you for the straight forward tutorials! Was just wondering if you could do an advanced fighting tutorial or something with this video making the fighting more fluid and fixing the box collision triggering multiple times when throwing 1 punch. If not it’s ok keep up the good work 👍

  • @harris2642
    @harris2642 3 ปีที่แล้ว +2

    The tutorial was quick and consise and it worked in my project amazingly. Definitely going to watch your others :)

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Thank you so much mate! Glad to hear you enjoyed it :)

  • @DurgeSurge
    @DurgeSurge 2 ปีที่แล้ว +3

    @Matt Aspland - Hey man! Big fan of your tutorials! I'm having a persistent issue where I'm unable to actually hit the AI? I am able to throw punches, etc. But the issue is that I can't seem to cause any damage at all to AI. They also don't react to my punches. Any advise would be greatly appreciated! Thanks!

  • @justleonnn3376
    @justleonnn3376 4 ปีที่แล้ว

    congrats on 2.5k!

  • @mr.orange8211
    @mr.orange8211 3 ปีที่แล้ว +1

    YES! Thank you.

  • @rttsh1616
    @rttsh1616 3 ปีที่แล้ว +1

    Thanks so much you helped so much already I found your Chanel yesterday

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      That's great to hear man! So happy I can help out :)

  • @KensireGames
    @KensireGames ปีที่แล้ว +2

    For anyone who can't get their character to walk after punching in your "set movement node" set it to walking

  • @JustaPairofPants
    @JustaPairofPants 3 ปีที่แล้ว +5

    Thanks for the tutorial, you're by far the most helpful person I've came across. Everything works great except I sometimes hit the enemy twice in one swing. Do you know what I'm doing wrong?

    • @rarerex
      @rarerex ปีที่แล้ว

      did you ever fix this?

  • @wildricknarcissot6031
    @wildricknarcissot6031 ปีที่แล้ว

    Best UE Teacher ever 💯🙏🌍 Thanks for your knowledge Matt ✨💛

  • @flamingsunshine
    @flamingsunshine 3 ปีที่แล้ว

    really great tutorial, thank you so much for the upload

  • @khallkhall7237
    @khallkhall7237 3 ปีที่แล้ว +1

    This is amazing! Thank you!

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      Thanks a lot man, happy to help :)

  • @vollbracht8123
    @vollbracht8123 2 ปีที่แล้ว +4

    For people wondering why their Montage dosn't play he explains it an the end with the Anim Blueprint

    • @thqp
      @thqp 2 ปีที่แล้ว

      THANK YOU! I was having this exact issue. Gotta try be more patient, wait till the end, and skip less :D

    • @kingcowgill
      @kingcowgill ปีที่แล้ว

      lol where i didnt see anything at the end?

  • @nasryahya1825
    @nasryahya1825 2 หลายเดือนก่อน

    Hi Matt, thank you for the excellent tutorial!
    Question please, how can I lock the combat in the beginning of the game and unlock them when the player moves to a new level?
    Thanks in advance!

  • @kevinhoward9930
    @kevinhoward9930 3 ปีที่แล้ว

    Great stuff once again 👍

  • @thePadlockesTech
    @thePadlockesTech 3 ปีที่แล้ว +1

    I'm not sure if I am missing something, but I am able to spam my attack. I can activate an attack animation before ending the one before it.
    Nevermind: The set isPunching? to true that you added near the end fixed it.

  • @c4rb0n46
    @c4rb0n46 4 ปีที่แล้ว +20

    WWE CHAMPIONSHIP 💪

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว +4

      💪

    • @diontaeshuron3950
      @diontaeshuron3950 3 ปีที่แล้ว

      @@MattAspland Think you can make a tutorial on a basic wrestling game? Like grapples, punching, pinning, etc?

  • @beamngsamurai8
    @beamngsamurai8 4 ปีที่แล้ว +2

    Thank you so much your vidoes or so good my game needed combat thx!

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      No problem! Glad I could help! :)

  • @ty_teynium
    @ty_teynium 4 ปีที่แล้ว +1

    Thanks for the animations; did you make them yourself or purchase them from elsewhere?

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว +3

      No problem! And I got them for free off of mixamo.com, however the ones I've linked I have retargeted to the default Ue4 mannequin so we can use them, making all our lives easier :)

    • @ty_teynium
      @ty_teynium 4 ปีที่แล้ว +2

      @@MattAspland Cool! I've tried using in engine but it takes way too long to get a hang of. I'm trying to make my own using Blender and Cascadeur.

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      yeah the in engine one isn't bad, but it's not great. Blender is a lot better for it I find. Good luck with learning it and getting the hang of it :)

  • @natecoet3291
    @natecoet3291 3 ปีที่แล้ว +1

    Great video, would it be possible to get an animation based on the direction of the hit?

  • @thqp
    @thqp 2 ปีที่แล้ว

    Great tutorial, however, the AI, reacts 2-4 times on each punch, rather than just once per hit. I'm trying to figure out a way to fix this, delays don't work atleast.

  • @joyfulgirllinz
    @joyfulgirllinz 2 ปีที่แล้ว

    The tutorial is great! But do you think you could make a tutorial on how to make the enemy fight back?

  • @KensireGames
    @KensireGames ปีที่แล้ว

    You saved the day with this but how can I get my character to start back walking quicker after the combo it's a 2 second pause before he can move again after punching

  • @DynoSkrimisher
    @DynoSkrimisher 2 ปีที่แล้ว +2

    I have an issue with the anim montage array. I've got all of my anims in, but everything I attack, my character does nothing. he stops, but there's no animation

  • @Mrkev217
    @Mrkev217 4 ปีที่แล้ว +2

    wow

  • @yoman9446
    @yoman9446 4 ปีที่แล้ว +2

    Hi Matt!
    Could you please do some tutorials on particle effects? I'm a solo dev and that part is bugging me off

    • @amigoface
      @amigoface 4 ปีที่แล้ว

      there is tons of videos on that particular subject on youtube

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      Hey, I could definitely add it to my list yeah :)

  • @tuggysunshine444
    @tuggysunshine444 3 หลายเดือนก่อน

    i tried using your anims with ue5.3, it converts the skeletal mesh to one with an elongated torso.

  • @Ausyaustingaming
    @Ausyaustingaming 3 ปีที่แล้ว +2

    I finished everything but in the anim graph the moving dots between the state machine, slot default slot and the output pose aren’t there , like it’s Not working how do I fix

    • @333studios.
      @333studios. 3 ปีที่แล้ว

      it doesnt work for me either
      Ive tried 5 times..

  • @carobaum
    @carobaum 2 ปีที่แล้ว +1

    I have two differenet characters, the thirdPlayer can't walk after it punched and the enemy doesn't react to those punches, nothing happens. I rewatched your tutorial 5 times now and I don't know what I am doing wrong, maybe you have an idea:)
    Edit: i can walk now, but my enemy still doesn't react to punches.

  • @scandydecimal
    @scandydecimal 2 ปีที่แล้ว

    Thank you

  • @jrr7031
    @jrr7031 3 ปีที่แล้ว +1

    I love you!!! I spent 24 hours over 4 days looking for this! Its 99% of what i need.
    Question: instead of create action mapping to button, could I integrate this into a looped animation based on an ability? Like "attack melee"? Im trying to build an RTS style top down game.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      That's amazing man! So glad I could help you out!!
      Also, I'm not sure if I know what you mean, so you the animation is always playing? Sorry if I'm misunderstanding something really simple lol

    • @jrr7031
      @jrr7031 3 ปีที่แล้ว +1

      @@MattAspland its no problem at all! Ive spent the last 3 weeks knee deep in tutorials as well as trying to write my own code. What im asking is: instead of using an "on click" action map to the punch, could i set maybe a button to click on 1 time...and the character would keep attacking by itself until the "enemy" has 0 health?

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      ​@@jrr7031 Ah right okay, I get you now. That would be fairly easy for you to implement :)
      So I've made some code and screenshotted it for you so you can understand it a lot easier, I'll link it below at the bottom of the comment.
      Firstly, we go into our character blueprint and at the start of the punching code, we will add a custom event going into the punch code, with the input action, don't delete anything. Then, at the end of the same line of code, we will add a branch. The condition of this will be a new Boolean named "Is Enemy Dead?", or anything which makes sense to you. Once this is in the condition, off of true you will do nothing, and off of false we will call function punch, or whatever you named the custom event. This is then creating the loop until the enemy dies.
      Then we need to set up setting this Boolean so we know when the enemy is dead. This is also very simple. In the enemy blueprint you should have a branch with the condition of "Health

    • @jrr7031
      @jrr7031 3 ปีที่แล้ว +1

      @@MattAspland ! Yea, im just gonna commission you on a per project basis once I start rolling. Check your paypal for something in 2-4 days.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      @@jrr7031 Oh wow thank you man! I greatly appreciate it

  • @nikgiak2994
    @nikgiak2994 3 ปีที่แล้ว +1

    TYVM! Only one problem... Let's say my attack animation time is 1sec. If I promote ''Play anim montage / In play rate'' to var and change it to 0.5sec (to play the attack anim faster), the delay node still waits 1'', so my char finishes the attack animation in 0.5'' and waits still 0.5'' more, until I can take control again. Mind that the delay duration IS attached to ''Play anim montage/return value''...is this a bug or something? Thank you again!

  • @arankasih1162
    @arankasih1162 2 ปีที่แล้ว

    hey matt! loved the video! but is there a way to make my punch repeatable? so i can spam my punch? thank you btw!

  • @suzukito
    @suzukito 3 ปีที่แล้ว

    thanks for your videos

  • @3Danimations-zf1yk
    @3Danimations-zf1yk ปีที่แล้ว

    Hi Matt, tell me how to change the damage from different attacks, for example from a kick, etc.

  • @virusocyrus
    @virusocyrus 3 ปีที่แล้ว

    Hey Matt, Ive been working on a game for awhile an got to the point where the player can get a weapon(axe) and can use it only to knock back the enemies(monsters) to defend their self. Could you plan a video for that when you’re available?

  • @senju3832
    @senju3832 3 ปีที่แล้ว +2

    Thankyou so much great tutorial I'm dropping a sub

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      No problem, always a pleasure to help! And thank you so much, I really appreciate it :)

    • @senju3832
      @senju3832 3 ปีที่แล้ว +1

      @@MattAspland this tutorial really helped a lot because I knew how to do the animations I've just never used hitboxes on the character because I usually make fps and tps games where you usually spawn with a gun

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      @@senju3832 Ah yeah, good to hear you're expanding your skillset! Happy to help and nice work

  • @KrackBoySlim
    @KrackBoySlim ปีที่แล้ว

    Do you have a video about a melee combo instead of random animations?

  • @thehemsley_
    @thehemsley_ 3 ปีที่แล้ว

    Hey thanks for the info, great help in getting me 99% of where I’m aiming for. How do I play the animation on loop until I release the button? Thanks again ✌️

    • @thehemsley_
      @thehemsley_ 3 ปีที่แล้ว

      Ok I figured it out, on the input action I connected the released to a stop animation and then connected that in to set movement mode. Haven’t figured out the loop yet though 🤙

  • @danteholley6589
    @danteholley6589 3 ปีที่แล้ว +3

    I just finished the tutorial. The punching works but somehow now my character isn’t able to move. It’s only able to punch or move not both. Once it’s done punching it doesn’t move anymore :/ please help

    • @MrBlueberry33
      @MrBlueberry33 3 ปีที่แล้ว

      If you havent already fixed this, at 6:18 he shows what you probably missed, new movement mode = walking

    • @amrahkhan2242
      @amrahkhan2242 3 ปีที่แล้ว

      did you figure out how to fix this issue because i am having the same problem

  • @보리타작-x9s
    @보리타작-x9s 2 ปีที่แล้ว

    Nice Tutorials What if I want to counting of AI Death..? How can I count AI death? Any Advise?

    • @보리타작-x9s
      @보리타작-x9s 2 ปีที่แล้ว

      I've solved with Apply damage to Any damage!

  • @HeyShotgun
    @HeyShotgun 2 ปีที่แล้ว

    So I could essentially use this for other things such as weapon use as well

  • @Alex00m
    @Alex00m 4 ปีที่แล้ว

    💥💥Great video bro, 😁👏👏

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      Thank you so much man! :)

  • @nsmb6647
    @nsmb6647 2 ปีที่แล้ว +1

    This didnt work for me, the Blueprint runs, and the character stutters when pressing the attack button, but the attack anim doesnt play. any thoughts?

    • @CodenamePrince
      @CodenamePrince 2 ปีที่แล้ว

      My character doesn't play the animation at all. He moves but when I click the button nothing happens. Nevermind fixed it. I missed a part.

  • @ericmatthews9894
    @ericmatthews9894 ปีที่แล้ว

    Do you have any tutorials on how to make the AI attack the player? I have looked through them but can't seem to find one. Every other tutorial is long and complex and you have to watch 142,000 videos to get to that one.

  • @vincence_8189
    @vincence_8189 2 ปีที่แล้ว +1

    Sir when we click left mouse button the character do animation slowly, how do we get it fast Sir

  • @Si-Toecutter
    @Si-Toecutter 3 ปีที่แล้ว

    I have several attacks and their matching victim anims that match, how would I do random but ensure the anims match up? Also how could you do different anims for frontal or rear stealth type attacks? How does an AI know your attacking from behind for example? That confuses me.

  • @SanneBerkhuizen
    @SanneBerkhuizen 4 ปีที่แล้ว

    Cool 👍,
    Maybe you can do a tut on how to make a visual hit indication.
    Maybe something like a red outline when you hit someone.
    Also,
    Is there a easy way to mirror animations? So you could do a left or a right punch with the Same anim

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว +1

      Thank you! Yeah that's a great addition thanks for the suggestion!
      And I believe there are ways by simply flipping the values of the character or mesh, but this I think flips controls too, so not what you want. The only thing I know of right now, is something from the marketplace which does this. Only issue is its $70. If I come across something else, or figure out an easier way, I'll definitely let you know.
      www.unrealengine.com/marketplace/en-US/product/rmamirroranimation

    • @SanneBerkhuizen
      @SanneBerkhuizen 4 ปีที่แล้ว +1

      @@MattAspland cool man, thank you.

  • @arezgod14
    @arezgod14 ปีที่แล้ว

    Is this tutorial suitable for Unreal Engine 5.2?

  • @mojiacademy9400
    @mojiacademy9400 3 ปีที่แล้ว

    tnx a lot mate you are awsome

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Happy to help mate :)

  • @ParkinsonMax
    @ParkinsonMax 3 ปีที่แล้ว +1

    I did everything exactly as you did in the first 1/3rd of the video, just to test the Anims without the AI reaction. I'm getting no Anims playing, only stopping for a moment in place then walking again. I'm using UE5. Any info would help, and btw thank you for all your videos!

    • @elHandsomeDan
      @elHandsomeDan 3 ปีที่แล้ว

      @MaxB I found the answer at 15:24. You need to add a node to the animation bp

    • @ParkinsonMax
      @ParkinsonMax 3 ปีที่แล้ว

      @@elHandsomeDan I did this but still no luck! Added the slot to the AnimBP

    • @elHandsomeDan
      @elHandsomeDan 3 ปีที่แล้ว

      @@ParkinsonMaxhmm, well he does have an updated tutorial for this. Maybe try that one? Ive been away from my PC all day so i havent had a chance to try it myself.
      th-cam.com/video/nk85XLLnlCo/w-d-xo.html

  • @nasryahya1825
    @nasryahya1825 2 หลายเดือนก่อน

    Hi Matt, my AI is not responding to the punch of my character, any idea where the issue could be?

  • @mohammadjavadehsani346
    @mohammadjavadehsani346 3 ปีที่แล้ว

    It's very cool

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Thanks a bunch Mohammad! :)

    • @mohammadjavadehsani346
      @mohammadjavadehsani346 3 ปีที่แล้ว +2

      my name in discord is mj_engineer ( haves problem with slide animation )😂

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Yeah, I've responded :)

  • @mohammadjavadehsani346
    @mohammadjavadehsani346 3 ปีที่แล้ว

    You're awesome

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      I really appreciate that! :)

  • @g_pigeony4036
    @g_pigeony4036 ปีที่แล้ว

    thanks it worked but I wanted it to be multiplayer so I put the entire code in the third person character and it's working but sometimes the mannequin hit himself because he enter in his own collision how can I fix that please?

  • @jshffgbjkag43
    @jshffgbjkag43 3 ปีที่แล้ว

    your the best

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +2

      Thank you so much! I really appreciate that :)

  • @adem936
    @adem936 2 ปีที่แล้ว

    i am making a mutiplayer game but will this work if i have my friends play as a third person character ?

  • @KensireGames
    @KensireGames ปีที่แล้ว

    I'm looking for a solution for an attacking problem I have I added a delay to a combo move so when I press the button again it won't interrupt the combo but the delay keeps him doing the in the same place like in root motion but when I set the delay node to 0.0 he moves forward like he is supposed to can you help me out with that?

  • @davida4641
    @davida4641 3 ปีที่แล้ว

    My A.I. doesn't seem to recognise any incomming attacks. When I hit the A.I nothing happens, I have rechecked all steps yet nothings happens. Just curious, when I look at the event path of my character when playing the game, I can see the signal running through all points which indicates its working, should the AI event graphh also show a signal once being hit?

  • @winnersheep
    @winnersheep 3 ปีที่แล้ว

    hi
    After inserting the punch animation montage, the viewpoint moves, but the character cannot move.
    What problems are expected?

  • @jordeneyermann
    @jordeneyermann 2 ปีที่แล้ว

    I'm having trouble importing the supporting files into Unreal Engine 5. What do you think could cause this?

  • @VVLGK
    @VVLGK 3 ปีที่แล้ว

    Not working for me. Checked out for blend in and blend out for montages though not fixed. I don't have any jump animation so didn't added branch statement. Is that the issue causing for my action mapping.
    And BTW I have added widget blueprint also

  • @sharonmian5174
    @sharonmian5174 3 ปีที่แล้ว

    Isn’t using Apply Damage and the Any Damage Event a better and more robust way?

  • @Mr.Keygar
    @Mr.Keygar ปีที่แล้ว

    Is there a way to put the animation that runs when the enemy is very low on life and if it's just an animation that runs?

  • @nextanvil3346
    @nextanvil3346 4 ปีที่แล้ว

    That looks so cool and it works but can you maybe fix it a little that after he dies maybe delay the punching or set punching to false because you can accedently hit him again and he gets up

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      Ah yeah okay, great suggestion. I've just got into the project, and if you put a DoOnce after the first branch, with the completed going into "Play Sound At Location". Then out of the false of the second branch, seeing if the AI's health is above 0, go into the reset of the DoOnce. I'll link a screenshot down below. Hope this helps :)
      Reference screenshot: imgur.com/a/SL75ASh

    • @nextanvil3346
      @nextanvil3346 4 ปีที่แล้ว

      @@MattAspland ah thank you very much and by the way I really like this video

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      No problem, and thank you!! :)

    • @BangBang-fd7de
      @BangBang-fd7de 4 ปีที่แล้ว

      @@MattAspland thanks bro problem solved

  • @blobshs3498
    @blobshs3498 3 ปีที่แล้ว

    Thank You so much for the Tutorial just had a quick question, after punching for some reason my character just stands still and I am unable to move it, is there any way to fix this?

    • @blobshs3498
      @blobshs3498 3 ปีที่แล้ว +1

      also after I perform two punches to the air I also standstill?

    • @blobshs3498
      @blobshs3498 3 ปีที่แล้ว +1

      nvm i fixed it

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Ah great, glad you fixed it

    • @iqbalhanifa6524
      @iqbalhanifa6524 3 ปีที่แล้ว

      @@blobshs3498 can i know how did u fix it?

    • @blobshs3498
      @blobshs3498 3 ปีที่แล้ว

      @@iqbalhanifa6524 I rewatched the vid only to find out I had I didn’t set one of my variables to true

  • @anetas4999
    @anetas4999 3 ปีที่แล้ว

    It doesn't work for me also, I'm using metahuman as a 3PCharacter, but the movement and jumping works fine. Any ideas what I did wrong?

  • @TheCandyFreak2
    @TheCandyFreak2 3 ปีที่แล้ว +1

    After I click LMB and the animation montage occurs, my character becomes stuck in place. Is there a way to fix this?
    I differed from the video a bit and did not include any sounds, not sure if I messed anything up by not adding them in.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      Hey, when you left click we are disabling the movement. Make sure you set the movement mode back to walking after you have completed the punch. This should be in the video too if you don't have that in your code, you should be able to find it in the video. Let me know if you need any extra help.

    • @TheCandyFreak2
      @TheCandyFreak2 3 ปีที่แล้ว +3

      @@MattAspland Fixed! Forgot to connect one of the exec lines.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +2

      @@TheCandyFreak2 Oh nice one great. Well done :)

  • @skibididmitri
    @skibididmitri 3 ปีที่แล้ว +2

    I have qustion. My code dotn work. My Play Anim Montage dont work( everything else working) only animation dont start. Plz help

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Hey, have you made sure to include the "Slot_Default_Slot" in your animation blueprint?

    • @skibididmitri
      @skibididmitri 3 ปีที่แล้ว +1

      @@MattAspland Yes I made def slout in Anim BP

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      @@skibididmitri Right okay, and are these animations also targeted to the correct skeleton? If you open up the anim montage, does it look all good, and is on your character mesh?
      If so, can you copy and paste your code into the website linked below, and I'll take a look into it. Just send the link back here :)
      blueprintue.com/

    • @skibididmitri
      @skibididmitri 3 ปีที่แล้ว +1

      @@MattAspland if i go into anim montage i see in viewport (bottom right) this "post Procces Animation Blueprint "AnimAj" is running "Disable" "edit" and idle animation. When i click on disable the animation boxing begins.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      @@skibididmitri Oh weird okay. Do you think you could email me some videos and screenshots of the issues, code, and animations? My email can be found in my channel's about page

  • @sumbodylied2u
    @sumbodylied2u 3 ปีที่แล้ว

    I do exactly what you are in the video but it will not add my animations to the array. I get 0 error message to give me any clue as to why they wont work..........

  • @samholt7667
    @samholt7667 2 ปีที่แล้ว

    Hi im trying to use these blueprints for a fighting game however i can get the second character to use the moves it just replicates the inputs on the player one charecter

  • @textik5821
    @textik5821 ปีที่แล้ว

    at 11:14 is has integer - integer been removed from ue 5? trying to find a workaround as epic most likely just updated/renamed it.
    Edit for anyone having same issue, the subtract node does the same thing as integ - integ, and for float - float i just changed the duration of the delay, no extra node.

  • @teukuaulia4270
    @teukuaulia4270 3 ปีที่แล้ว

    why cant I find "get punching" to cast to thirdpersoncharacter inside AI blueprint?

  • @bryandesrosiers
    @bryandesrosiers 2 ปีที่แล้ว

    I have a weird bug. So I did the your tutorial 1:1, then i gave the same blueprint with relevant changes attached to my Player Character.
    A little more info: I'm trying to make a "3D Sidescroller", and I get this issue where if the Player Character drops onto the same platform as the Enemy AI, and then Player Character jumps off that platform onto another or previous platform, then back onto the Enemy AIs platform the game runs as expected.
    But if the Player Character drops onto the same platform as the Enemy AI, and the Player Character jumps over the AI head, gets the AI to stop searching for the Player Character - But then the Player Character punches the Enemy AI and ALSO does the knock back animation.
    I'm stumped. Any ideas?

  • @Blue_Grego
    @Blue_Grego 2 ปีที่แล้ว

    can i use your animation for a game

  • @MurderousVillainRobloxCreator
    @MurderousVillainRobloxCreator ปีที่แล้ว

    I think, this should be mixed with melee weapons and firearms and fists like atomic heart and dying light series, how to make?.

  • @Langlin22
    @Langlin22 2 ปีที่แล้ว

    Could you be able to write it for PvP or something?

  • @AussieRoads
    @AussieRoads 2 ปีที่แล้ว

    @Matt I have followed the tutorial but after I move forward and punch once all animations fail to work after that point.

    • @AussieRoads
      @AussieRoads 2 ปีที่แล้ว +1

      NVM - Found the issue. Forgot to connect the final delay to Set Movement Mode.

  • @darriusdavis43
    @darriusdavis43 3 ปีที่แล้ว

    My character stutter steps when I press the punch and doesn't do animations

  • @mooshu96
    @mooshu96 3 หลายเดือนก่อน

    anyone told you you amazing?

  • @TV-mb4wf
    @TV-mb4wf 3 ปีที่แล้ว

    Большое спасибо вам

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Нет проблем, чувак! :)

    • @TV-mb4wf
      @TV-mb4wf 3 ปีที่แล้ว

      @@MattAspland за перевод на русский тебе спасибо 👍

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      @@TV-mb4wf Нет проблем, спасибо за добрые слова!

  • @xfighter8586
    @xfighter8586 3 ปีที่แล้ว

    something doesen´t work I made everything just like you but every time I klick my left mouse button it just stops for 0,1 seconds and then nothing happens

  • @xEpr0x
    @xEpr0x 3 ปีที่แล้ว

    can i somehow stop that, that i can move where i look while punching

  • @JenkTank64
    @JenkTank64 2 ปีที่แล้ว

    How do you get this to work with punching inanimate objects?

  • @tableprinterdoor
    @tableprinterdoor 3 ปีที่แล้ว

    Hey idk if ur still respondin to comments but do you have a tutorial on how to get the enemy to attack back? Would I use the same script but tweak it a little for the enemy?

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Hey, I don't have one yet, but I can look into it yeah. But yep it would be a very similar code, just changing minor things for example, how it is fired off, what it is checking for to collide with etc

    • @tableprinterdoor
      @tableprinterdoor 3 ปีที่แล้ว

      @@MattAspland Alright thanks, if you do end up making one I'll be sure to check it out, also one for implementing other moves such as kicking as I have got the player to kick but I haven't got the enemy to react as I can't get the component for the enemy reaction twice, just comes up as "custom event"

  • @jonathanodonnell3831
    @jonathanodonnell3831 3 ปีที่แล้ว

    how do you go about it if you are using a weapon melee

  • @nextanvil3346
    @nextanvil3346 4 ปีที่แล้ว +1

    I tried doing a new character with punch animation but I just change the montages but it didn`t work when I try pressing left click, I just stand still can you help me?

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      Hi, when you say you changed the montages. What do you mean?

    • @nextanvil3346
      @nextanvil3346 4 ปีที่แล้ว +1

      @@MattAspland so I made a new character animation like walking etc. And I put it as my movement character and I downloaded fighting animation in mixamo and those new animation I made it to montages so I can put it in as an array and it works put when I press the punch button I can't move but I can't see the animation and I can't hit my opponent so yeah

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      Right okay, so if you open up the animation montage, does it play there? If so, did you connect it all up correctly? The same way you had it before.

    • @nextanvil3346
      @nextanvil3346 4 ปีที่แล้ว +1

      @@MattAspland yeah the animation is playing and I also connected

    • @MattAspland
      @MattAspland  4 ปีที่แล้ว

      Ah okay, do you think you could send some screenshots maybe? Are the animations also for the correct character, so the only you are playing, btw?

  • @politimoastro
    @politimoastro 3 ปีที่แล้ว

    10:00 I cannot compile at cast to my player there is a warning that says does not inherit from the Al. What am I doing wrong?

  • @renatodep
    @renatodep 3 ปีที่แล้ว

    For some reason I am able to spam my attacks, half the animation won't play in full.

  • @madclowninc.4233
    @madclowninc.4233 3 ปีที่แล้ว

    ive done everything and it's punching causing damage and destroying the actor as it should but the animations for the ai arent playing

  • @epicdudepersonman99
    @epicdudepersonman99 2 ปีที่แล้ว

    Hey! Is there a way to make the AI punch the player?