Тёмный

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

Matt Aspland
Подписаться 80 тыс.
Просмотров 88 тыс.
50% 1

Hey guys, in today's video, I'm going to be showing you how to create a basic punching and fighting system in which a random animation will play for both punching and receiving a punch, sound effects for punching and dying, and then obviously death and health as well.
Punching Animations: drive.google.com/drive/folder...
Punch SFX 1: freesound.org/people/Christop...
Punch SFX 2: freesound.org/people/Christop...
Punch SFX 3: freesound.org/people/Christop...
Death SFX: freesound.org/people/AlineAud...
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:16 - Overview
00:56 - Tutorial
17:10 - Final Overview
17:51 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Опубликовано:

 

19 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 230   
@frankie3351
@frankie3351 2 года назад
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
@NickFehlinger
@NickFehlinger 2 года назад
I seriously can't even begin to tell you how much better your tutorials are than 99.999999999% of all the stuff on RU-vid. Finding this channel has seriously made building my game not just possible but fun and not frustrating. THANK YOU!!!
@dual4025
@dual4025 3 года назад
I love that you went over the blueprint at 14:49 It really helps with understanding exactly what we just created. Awesome tutorial!
@user-qv3bu8ud9o
@user-qv3bu8ud9o 2 года назад
Its the quality of a good teacher.
@icookiebit8601
@icookiebit8601 Год назад
man you are a lifesaver, just such well put together content, you are severely underrated
@realspicye
@realspicye 3 года назад
OMG it worked better than other tuts on yt tysm
@thegiantguy
@thegiantguy 3 года назад
Thank you so much for your tutorials, finished university with so many of your videos referenced in my final project
@stevenwynn819
@stevenwynn819 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 3 года назад
Thank you! Oh wow I suppose I have, that's good then for some people heh.
@harris2642
@harris2642 3 года назад
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 :)
@kingstoncottone2516
@kingstoncottone2516 3 года назад
Finally a punching tutorial! Thankyou so much, so useful
@MattAspland
@MattAspland 3 года назад
No problem, happy to help! :)
@flamingsunshine
@flamingsunshine 2 года назад
really great tutorial, thank you so much for the upload
@kinect20
@kinect20 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 👍
@kevinhoward9930
@kevinhoward9930 2 года назад
Great stuff once again 👍
@mr.orange8211
@mr.orange8211 2 года назад
YES! Thank you.
@khallkhall7237
@khallkhall7237 3 года назад
This is amazing! Thank you!
@MattAspland
@MattAspland 3 года назад
Thanks a lot man, happy to help :)
@rttsh1616
@rttsh1616 3 года назад
Thanks so much you helped so much already I found your Chanel yesterday
@MattAspland
@MattAspland 3 года назад
That's great to hear man! So happy I can help out :)
@tacticalsamurai8
@tacticalsamurai8 3 года назад
Thank you so much your vidoes or so good my game needed combat thx!
@MattAspland
@MattAspland 3 года назад
No problem! Glad I could help! :)
@suzukito
@suzukito 3 года назад
thanks for your videos
@scandydecimal
@scandydecimal 2 года назад
Thank you
@justleonnn3376
@justleonnn3376 3 года назад
congrats on 2.5k!
@MattAspland
@MattAspland 3 года назад
Thanks Leon!! :)
@JustaPairofPants
@JustaPairofPants 3 года назад
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?
@mojiacademy9400
@mojiacademy9400 3 года назад
tnx a lot mate you are awsome
@MattAspland
@MattAspland 3 года назад
Happy to help mate :)
@Alex00m
@Alex00m 3 года назад
💥💥Great video bro, 😁👏👏
@MattAspland
@MattAspland 3 года назад
Thank you so much man! :)
@DurgeSurge
@DurgeSurge 2 года назад
@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!
@senju3832
@senju3832 3 года назад
Thankyou so much great tutorial I'm dropping a sub
@MattAspland
@MattAspland 3 года назад
No problem, always a pleasure to help! And thank you so much, I really appreciate it :)
@senju3832
@senju3832 3 года назад
@@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 года назад
@@senju3832 Ah yeah, good to hear you're expanding your skillset! Happy to help and nice work
@warfighter4129
@warfighter4129 2 года назад
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?
@wildricknarcissot6031
@wildricknarcissot6031 Год назад
Best UE Teacher ever 💯🙏🌍 Thanks for your knowledge Matt ✨💛
@natecoet3291
@natecoet3291 3 года назад
Great video, would it be possible to get an animation based on the direction of the hit?
@virusocyrus
@virusocyrus 2 года назад
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?
@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!
@joyfulgirllinz
@joyfulgirllinz 2 года назад
The tutorial is great! But do you think you could make a tutorial on how to make the enemy fight back?
@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.
@PrescottLawani
@PrescottLawani 2 года назад
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.
@nikgiak2994
@nikgiak2994 2 года назад
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!
@mohammadjavadehsani346
@mohammadjavadehsani346 3 года назад
You're awesome
@MattAspland
@MattAspland 3 года назад
I really appreciate that! :)
@Mrkev217
@Mrkev217 3 года назад
wow
@davida4641
@davida4641 2 года назад
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 2 года назад
hi After inserting the punch animation montage, the viewpoint moves, but the character cannot move. What problems are expected?
@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?
@jrr7031
@jrr7031 3 года назад
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 года назад
@@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 года назад
​@@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 года назад
@@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
@jshffgbjkag43
@jshffgbjkag43 3 года назад
your the best
@MattAspland
@MattAspland 3 года назад
Thank you so much! I really appreciate that :)
@SanneBerkhuizen
@SanneBerkhuizen 3 года назад
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 3 года назад
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 3 года назад
@@MattAspland cool man, thank you.
@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 🤙
@Mr.Keygar
@Mr.Keygar 10 месяцев назад
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?
@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
@carobaum
@carobaum Год назад
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.
@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
@ty_teynium
@ty_teynium 3 года назад
Thanks for the animations; did you make them yourself or purchase them from elsewhere?
@MattAspland
@MattAspland 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 3 года назад
@@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 3 года назад
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 :)
@mohammadjavadehsani346
@mohammadjavadehsani346 3 года назад
It's very cool
@MattAspland
@MattAspland 3 года назад
Thanks a bunch Mohammad! :)
@mohammadjavadehsani346
@mohammadjavadehsani346 3 года назад
my name in discord is mj_engineer ( haves problem with slide animation )😂
@MattAspland
@MattAspland 3 года назад
Yeah, I've responded :)
@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 Год назад
For anyone who can't get their character to walk after punching in your "set movement node" set it to walking
@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?
@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.
@anetas4999
@anetas4999 2 года назад
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?
@jordeneyermann
@jordeneyermann Год назад
I'm having trouble importing the supporting files into Unreal Engine 5. What do you think could cause this?
@3Danimations-zf1yk
@3Danimations-zf1yk 8 месяцев назад
Hi Matt, tell me how to change the damage from different attacks, for example from a kick, etc.
@KrackBoySlim
@KrackBoySlim Год назад
Do you have a video about a melee combo instead of random animations?
@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?
@HeyShotgun
@HeyShotgun 2 года назад
So I could essentially use this for other things such as weapon use as well
@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 года назад
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
@K_I_N_E_X
@K_I_N_E_X 2 года назад
Same
@haideramer1048
@haideramer1048 3 года назад
yayyyyy
@Ausyaustingaming
@Ausyaustingaming 3 года назад
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..
@n0g0d
@n0g0d Год назад
when the player spams lmb the animations cancel eachother out how do i stop this from happening?
@vollbracht8123
@vollbracht8123 Год назад
For people wondering why their Montage dosn't play he explains it an the end with the Anim Blueprint
@thqp
@thqp Год назад
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?
@sumbodylied2u
@sumbodylied2u 2 года назад
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..........
@yoman9446
@yoman9446 3 года назад
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 3 года назад
there is tons of videos on that particular subject on youtube
@MattAspland
@MattAspland 3 года назад
Hey, I could definitely add it to my list yeah :)
@teukuaulia4270
@teukuaulia4270 3 года назад
why cant I find "get punching" to cast to thirdpersoncharacter inside AI blueprint?
@jonathanodonnell3831
@jonathanodonnell3831 2 года назад
how do you go about it if you are using a weapon melee
@arezgod14
@arezgod14 9 месяцев назад
Is this tutorial suitable for Unreal Engine 5.2?
@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.
@user-pt1qf3ur4k
@user-pt1qf3ur4k 2 года назад
Nice Tutorials What if I want to counting of AI Death..? How can I count AI death? Any Advise?
@user-pt1qf3ur4k
@user-pt1qf3ur4k 2 года назад
I've solved with Apply damage to Any damage!
@TheCandyFreak2
@TheCandyFreak2 3 года назад
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 года назад
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 года назад
@@MattAspland Fixed! Forgot to connect one of the exec lines.
@MattAspland
@MattAspland 3 года назад
@@TheCandyFreak2 Oh nice one great. Well done :)
@nsmb6647
@nsmb6647 2 года назад
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.
@darriusdavis43
@darriusdavis43 2 года назад
My character stutter steps when I press the punch and doesn't do animations
@xfighter8586
@xfighter8586 2 года назад
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
@c4rb0n46
@c4rb0n46 3 года назад
WWE CHAMPIONSHIP 💪
@MattAspland
@MattAspland 3 года назад
💪
@diontaeshuron3950
@diontaeshuron3950 2 года назад
@@MattAspland Think you can make a tutorial on a basic wrestling game? Like grapples, punching, pinning, etc?
@xmlstudios
@xmlstudios 2 года назад
@@diontaeshuron3950 its the same thing grappling can be an animation with quick time events or choose a direction to throw, for the rest this tutorial is fine, ik im late but thought i might help out someone just a thought pinning could be button mashing for 3 seconds, that would be just a blend space and the value would be lets say 3 then you subtract 1 every tick and add 1 when the button is pressed
@Langlin22
@Langlin22 2 года назад
Could you be able to write it for PvP or something?
@ParkinsonMax
@ParkinsonMax 2 года назад
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 2 года назад
@MaxB I found the answer at 15:24. You need to add a node to the animation bp
@ParkinsonMax
@ParkinsonMax 2 года назад
@@elHandsomeDan I did this but still no luck! Added the slot to the AnimBP
@elHandsomeDan
@elHandsomeDan 2 года назад
@@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. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nk85XLLnlCo.html
@xEpr0x
@xEpr0x 2 года назад
can i somehow stop that, that i can move where i look while punching
@vincence_8189
@vincence_8189 2 года назад
Sir when we click left mouse button the character do animation slowly, how do we get it fast Sir
@CodenamePrince
@CodenamePrince 2 года назад
Change play rate to 0.7
@madclowninc.4233
@madclowninc.4233 2 года назад
ive done everything and it's punching causing damage and destroying the actor as it should but the animations for the ai arent playing
@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"
@cyberaw1633
@cyberaw1633 Год назад
I Am Having A Problem, When I Punch The AI Its Not Getting Any Damage, Not Doing Any Animation, And Not Playing Any Sound Plz Tell ME How To Fix It
@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 года назад
also after I perform two punches to the air I also standstill?
@blobshs3498
@blobshs3498 3 года назад
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
@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 года назад
NVM - Found the issue. Forgot to connect the final delay to Set Movement Mode.
@sanhayer172
@sanhayer172 Год назад
what to do if the script works and the animations do not play?
@JenkTank64
@JenkTank64 2 года назад
How do you get this to work with punching inanimate objects?
@bryandesrosiers
@bryandesrosiers Год назад
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?
@bryandesrosiers
@bryandesrosiers Год назад
Figured it out!
@thqp
@thqp Год назад
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.
@epicdudepersonman99
@epicdudepersonman99 2 года назад
Hey! Is there a way to make the AI punch the player?
@thatchyhurdle4271
@thatchyhurdle4271 3 года назад
when i import the animations they are all green so i am unable to add them to the animation montage does anyone know how to fix this?
@raffikot343
@raffikot343 2 года назад
Click on the mesh that your looking for and right click and search for create animation montage it will allow you to convert the mesh into a montage
@TV-mb4wf
@TV-mb4wf 3 года назад
Большое спасибо вам
@MattAspland
@MattAspland 3 года назад
Нет проблем, чувак! :)
@TV-mb4wf
@TV-mb4wf 3 года назад
@@MattAspland за перевод на русский тебе спасибо 👍
@MattAspland
@MattAspland 3 года назад
@@TV-mb4wf Нет проблем, спасибо за добрые слова!
@vitorgabrielmoviesandseries
I think, this should be mixed with melee weapons and firearms and fists like atomic heart and dying light series, how to make?.
@nextanvil3346
@nextanvil3346 3 года назад
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 3 года назад
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 3 года назад
@@MattAspland ah thank you very much and by the way I really like this video
@MattAspland
@MattAspland 3 года назад
No problem, and thank you!! :)
@BangBang-fd7de
@BangBang-fd7de 3 года назад
@@MattAspland thanks bro problem solved
@renatodep
@renatodep 2 года назад
For some reason I am able to spam my attacks, half the animation won't play in full.
@Blue_Grego
@Blue_Grego Год назад
can i use your animation for a game
@danteholley6589
@danteholley6589 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 2 года назад
did you figure out how to fix this issue because i am having the same problem
@sharonmian5174
@sharonmian5174 3 года назад
Isn’t using Apply Damage and the Any Damage Event a better and more robust way?
@novalacertae1171
@novalacertae1171 3 года назад
More robust but more complicated ;)
@nextanvil3346
@nextanvil3346 3 года назад
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 3 года назад
Hi, when you say you changed the montages. What do you mean?
@nextanvil3346
@nextanvil3346 3 года назад
@@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 3 года назад
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 3 года назад
@@MattAspland yeah the animation is playing and I also connected
@MattAspland
@MattAspland 3 года назад
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?
@joywritr
@joywritr 3 года назад
Is this still accurate as of 4.26.1, because I did the entire tutorial and the player character won't even play the punching animation when I press the assigned key. I checked everything over and over and cannot figure out what's wrong.
@joywritr
@joywritr 3 года назад
I had originally tried this on a Side Scrolling template, when I recreated it in a 3rd Person template, it worked. If you happen to see this, could you maybe explain if and why it doesn't work in a Side Scrolling template? Thanks very much.
@AJeyLMFAO
@AJeyLMFAO 2 года назад
@@joywritr It works for me in side scrolling. You may have missed something. 4.26.2
Далее
JASMIN TRANS TOSHKENTDAGI UYIDAN INTERVYU 2024 #shokuz
45:40
Unreal Engine 5 Tutorial - Animation Montages
10:52
Просмотров 38 тыс.
Nanite for Artists | GDC 2024
22:09
Просмотров 89 тыс.
JASMIN TRANS TOSHKENTDAGI UYIDAN INTERVYU 2024 #shokuz
45:40