(00:05) - Intro and Hugh Jackman analogy (02:30) - Adding a Custom Event (04:49) - Adding Anim Notify Events (06:32) - Telling Montage to jump to Sections (07:55) - Calling punch Custom Event and wrap up
Пікірлер: 85
@user-vc2pm5xv7s6 жыл бұрын
Casting is trying to recognize an object as a specific object or recognize a specific object as a general one, like recognized an animal as a cat or a dog. try get pawn owner only gives you an animal(a pawn in our case), and an animal might be able to bark(in our case has is attacking) or not, you need to see if this animal is actually a dog before you can use it's bark ability, this checking and converting process is Casting, it will success if it is actually a dog, and will fail if it's a cat or other animals, notice that if this dog is a corgi, then trying to cast it to a dog or a corgi will all success, but cast it to a husky will fail.
@JustinKing949 жыл бұрын
I like how this is exactly the same as the older version of the 3rd person game tutorial by UE, especially with the Wolverine as an example to casting. :D
@klausbdl6 жыл бұрын
noticed that too
@judsonlayton99422 жыл бұрын
I know im asking randomly but does any of you know of a trick to log back into an instagram account..? I was stupid lost the account password. I would appreciate any assistance you can give me
@aaronazariah30692 жыл бұрын
@Judson Layton Instablaster :)
@judsonlayton99422 жыл бұрын
@Aaron Azariah i really appreciate your reply. I got to the site through google and Im trying it out atm. I see it takes quite some time so I will reply here later when my account password hopefully is recovered.
@judsonlayton99422 жыл бұрын
@Aaron Azariah it did the trick and I finally got access to my account again. I'm so happy! Thanks so much you really help me out :D
@miragegrc Жыл бұрын
i love the use of a do once node here and the setup ^^
@abraham79667 жыл бұрын
I wanted to add a note on CASTING. He mentioned around minute 1:55 that casting wouldn't work if we tried to cast to a Static Mesh because we weren't interested in that. We were interested in Pawns, and Characters... The correct explanation is you can only CAST objects that part of a class hierarchy. For example, the class Character is CHILD of the class PAWN. So, all characters are pawns but not all PAWNS are characters. Thus, if you get a PAWN type of object, you could check if that specific object is a CHARACTER by trying to CAST IT to a character. IF the CAST operation is successful it means that the object was indeed a CHARACTER, if it fails, it is because the object was not a CHARACTER. Static meshes are not CHILD of the PAWN class, they belong to another hierarchy, thus, you can't cast it to a character.
@m1m1ash9 жыл бұрын
Greatest CastTo Node explanation of all time. 10/10. Explanation of The Year. Our new Lord.
@alanjaldred3 жыл бұрын
One example that is often used, is shapes. So you might have a parent class called shape. And then child classes based off of this for square, circle, triangle. So you might only have a reference to a shape...but you want to call a circles radius function if it is a circle. If you only have a shape object, you cant call the radius function on that. So you would cast that shape, to a circle. If it succeeds, then you can call the circle radius function. By it's very nature, it's very useful for just checking if an object (shape) is of a certain type and then change logic flow based on that. Even if you don't need to be able to call any of that specific shapes methods. One other benefit that it gives you, is to check that the reference is valid at all. Which can be used for checking if something has already been initialized etc
@theartnet6 жыл бұрын
Great explanations. Thanks.
@neilorourke717 жыл бұрын
Okay, for anyone that has the problem of only being able to punch once: You're using the wrong "Is Punching?" variable that you created in your animation graph in notify section. You want to use the "Is Punching?" variable that you created after you cast your CharacterBP in the animation graph. It should work after that. I was tearing my hair out trying to solve it!
@Tribefull9 жыл бұрын
"He always has that hair". :D :D :D
@ChuckWilsonWilsonsStudio9 жыл бұрын
Great Videos! I have learned a lot. The instructor does a great job, as good as Zak but don't tell Zak I said that. :) Also thanks for 1080P
@shivamrawat57726 жыл бұрын
i didn't get the part where he connected the event notifier to the branch and then false node to next montage ?can anyone explain this? what's the logic here?
@matthews78959 жыл бұрын
Everytime I throw a punch, UE4 just freezes I can't do anything with it. Everything else works fine (walking, running, jumping etc.). It's just at the end of the first punch it freezes for me. I'm not sure if that's a bug in the system or something. Before when I used to double click on the punching montage it would show the whole animation, now it won't even show me the animation. I know it's the punching animation, I just don't know what to do about it. Any suggestions? :)
@antonylopezhernandez42468 жыл бұрын
excellent video
@yuchen35874 жыл бұрын
This series is as good as those tutorials on Udemy, and most importantly, it is free!
@MrHarumakiSensei4 жыл бұрын
I came here after failing to understand one on Udemy.
@GameDevJosh6 жыл бұрын
For anyone who's animation doesn't stop after letting go of the left mouse button, you have to type in the same exact name of the animation from your punching montage, in your CharacterAnimBP, where it says, "Montage Set Next Section". Inside this, it says "Section Name to Change" type in what ever your animation's name is down to the letter or number. If you type in "Punch 1" but in your Punching Montage it says "Punch One", then it will never work. If you need more context, comment and i'll respond right away. Hope this helps.
@ec754137 жыл бұрын
As a well-experienced C/C++ programmer, somehow I don't think the Wolverine is a good example. In fact, this pawn or more precisely the CharacterBP is not transformed at all. It was created initially a CharacterBP, and you can always states it as a Pawn. We may call Wolverine a an X-man. What casting does is, OK, I know this is an X-Man, but I cannot promise he has a claw. Casting helps me ensure he is Wolverine, so that I won't command the wrong guy, just like, I can't tell Cyclops to take out claws, can I?
@magicorpse7 жыл бұрын
Hi Eric, is casting the same thing as extend in OOP? So Wolverine and Cyclops would Inheritance from X-man's but their attack would be different
@MelroyvandenBerg8 жыл бұрын
4:21 When I add the notifies in the Animation Montage the Editor will hang forever. It's a bug, and not solved yet. :(
@Vorpike7 жыл бұрын
I can't add both IsStillPunching1 and 2 to the blueprint Once I select one, the other disappears from the list ??? EDIT: Seems to be some dumb glitch with the search box, works fine if I manually find and select it.
@burningflag36794 жыл бұрын
Its clearly going to take some time to setup. But pretty sure this just solved my combat combo problem.
@johnholmstrom42123 жыл бұрын
How would I go about adding a second montage? I tried branching it off after the casting node, but having two Do Once nodes doesn't work.
@brno3222 жыл бұрын
I personally would prefer if the video linked to another video for the explanation on casting. I'm already familiar but I'm here to learn about Animation Blueprints, so I was skipping around at the end of the last video and the beginning of this one
@swordguy12437 жыл бұрын
What if I want to start with the last punch I ended with ?
@Graber236 жыл бұрын
Man the thg is I don't have montage set next section version ue4 4.16 the node it does not appear and also no notify evemt I set them in animation montage and I normal animation.
@davronsherbaev91334 жыл бұрын
Why in the video of Animation Montage are we explained how casting work?
@NMDSPARTAN9 жыл бұрын
I can not find the add notify part. Please help. I dont rember adding a IsStillPunching? and i fellowed the directions perfectly
@thefrenzybear9 жыл бұрын
NaJee Mason Re-Watch Parts 17/18 again as that's where he adds the notify events. You should then able to add notify IsStillPunching.
@LordGKiller9 жыл бұрын
So like casting a string to an int?
@nicholaswillcox7 жыл бұрын
Not sure what I'm doing wrong, but the punch animation runs infinitely. Otherwise, I'm loving the series; nearly done.
@ReubenAStern6 жыл бұрын
It's only now, after several times, I realize he was really reluctant, to do the "wolvarine similie"
@KnoronOfficial7 жыл бұрын
hey when i hold the left mouse butten my character punchs only one time way ?
@user-gw2mb2ck4m3 жыл бұрын
because you suck
@isimbulamadmobenibulsun6606 жыл бұрын
The asset '/Game/animations/animasyon' (animasyon.uasset) failed to save. Cancel: Stop saving all assets and return to the editor. Retry: Attempt to save the asset again. Continue: Skip saving this asset only.
@the_realm2344 жыл бұрын
Hi guys I have the paragon greystone character and can't figure out how to get the attack animations to work
@phycogsmithomniscience3095 жыл бұрын
he explains casting, but interfaces are good for talking to multiple Bp's with the same interface
@espartanos25295 жыл бұрын
First video: Play rate @ 1.00: "He's punching way too fast" A Few days later: Play Rate @ 1.50 "WOW, that's cool, I'll keep that"
@adeptguy16343 жыл бұрын
My punch animation is not playing when i did simulation...could someone helo me with this?
@rogerfoster80206 жыл бұрын
I cannot punch when left clicking? Any tips of what I might have messed up?
@chandlerfrantz31406 жыл бұрын
roger foster I’m having the same issue. Still no idea what’s wrong.
@rogerfoster80206 жыл бұрын
Chandler Frantz for me it was with the add anim notify is punching 1 and 2! I had them flipped. Make sure your 1 and 2 are matching 1 and 2
@zekemsr6 жыл бұрын
For me, it was because i had the montage set to upper-body slot, which was not set up yet. It work when i set it back to default slot.
@virtual82074 жыл бұрын
very nice example.. lol
@Kokuyous3ki4 жыл бұрын
Anyone else had the urge to click the "compile" button on top left all through the video? :) Weird considering how most people I talked with hate the auto-compile shaders part yet when it comes to a big orange button, I just can't help myself...
@gamertech45893 жыл бұрын
we are working on game similar to limbo but in 3D , how can i create interactive mechanism games please need , i search forum still no answer
@chetanbiswas90767 жыл бұрын
4 people are Unity 5 users.
@stepgames76985 жыл бұрын
Omg 14 already
@sarfraz85332 жыл бұрын
Castin to Character BP every tick in Animation BP is good practice ????? Any other Way To access variable from character ???
@neilorourke717 жыл бұрын
Can Anyone help me? Is there a reason why the punching wouldn't start? I can't get the animation to start at all. Running, jumping, mouse are working fine
@BasedReda8 жыл бұрын
Another 1 year anniversary for a UE4 video! Yes, my timing is perfect!
@user-gw2mb2ck4m3 жыл бұрын
Okay
@historiasdeinternet56910 ай бұрын
callate
@stepgames76985 жыл бұрын
The notify events are not showing... What am I doing wrong?
@stepgames76985 жыл бұрын
Fixed. Nwm
@emilantonov81714 жыл бұрын
@@stepgames7698 how did you fix it
@stepgames76984 жыл бұрын
@@emilantonov8171 uhh Its been one year I cant remember sorry :P
@tcla759 жыл бұрын
I only have one animation for my punch so this doesn't work for me
@xewi608 жыл бұрын
+tcla75 same here
@warrenbuitendag52868 жыл бұрын
But... can you cast Wolverine as Hugh Jackman?
@lucasdaviddossantos29848 жыл бұрын
+Warren Buitendag every wolverine is a Hugh Jackman, but not every Hugh is wolverine
@warrenbuitendag52868 жыл бұрын
Lucas David dos Santos I dont know why but that makes complete sense XD
@Thirty-Two8 жыл бұрын
+Lucas David dos Santos Every newspaper is a sheet of paper, but not all sheets of paper are newspapers...
@hiromitsuhashi13397 жыл бұрын
2:00 Did you just say we can't cast a pawn into a light? Just remove its mass. It will become pure energy. Problem solved. Seriously though, just the idea made me laugh. See this dude? He'd make a good light, yes sir.
@0u73rh34v3n5 жыл бұрын
4 more videos to go!
@ragertgaming94873 жыл бұрын
How to create a montage
@ayzex89474 жыл бұрын
где русские субтитры?
@toomuchdeeznut7 жыл бұрын
2:02 'we are only interested in (porn)' lolol
@user-fw5vn2es8f7 жыл бұрын
my god lol
@kewlin8 жыл бұрын
Quite possibly the worst explanation of casting I could imagine, but I suppose it's kinda' hard without a full video on object oriented programming. To anyone who actually doesn't know what casting is, I suggest you try to find a better explanation.
@usernamehandle8 жыл бұрын
I have nothing against this guy personally-I really don't, he seems like a nice guy-but what the hell? This is so disorganized. It's like we start on something, and then halfway through, we go to something entirely different and unrelated and he says, "We'll come back to it" but this isn't conducive to learning! I hardly remember how the last event graph even works since we were away from it for so long. Couldn't we have just set everything up at once? I understand that we're dividing things into sections (that are arguably to short and uneventful) but I'm getting lost in all the back and forth. It's confusing.
@valkyrie36298 жыл бұрын
+Christian Mitchell I'm not sure what do you mean this is unrelated. We started from adding and blending movement then connecting the movement animation with the jumping animation and setup the related rules between jumping to movement to activate the animations and added the controls. Then we added in the punching animation and now setting up the rules for what happens when these animation occurs and how should the game respond when the punching start or stops on each arm. So far all of this is in relation but this part got much more information to it. The punching part is similar to auto attack, if the auto attack was like Tera or Black Desert for example it would switch between 3-4 different sword slashes combo and loop. If you stop at slash 2 and attack again you will be back at slash 1. The punching is a simplified version of that idea(There is a lot more you can do with this part than just auto attacks) but he did throw in some extra information to help understand what these new stuff we are adding does, like the Cast node and how this is important in case you wanted more than one character to do the same thing or like how you can keep the upper body punching with different movement like in Counter Strike knifing while crouching or standing, the upper body stays still in the knife slash animation while the lower body moves with different animation. If it is the Upper Body section you are referring to as unrelated since we didn't get it done yet, he just mentioned it for our information but he had to setup the punching animation before he can do that part. It is too much to take in since you are introduced to different things all at once but they are still in relation and necessary steps to be taken to get our end results.
@usernamehandle8 жыл бұрын
Haha, I forgot I had posted that. Honestly I was just frustrated, and I think I commented out of the rage built up after 5 days with no sleep just working with Unreal and Maya and Zbrush and trying to learn them all before today. But I was watching his videos after, and this guys actually really great at what he does. Esp. compared to some of the other KZfaq UE4 tuts. And he's prettt funny. But yeah, I was just frustrated
@SaddestClown4 жыл бұрын
This video series is painful. it is supposed to be for Beginners, but winds up being a deep dive into theory that is completely inaccessible for beginners. I was just trying to learn how to make my character punch... now i have been watching this series for 6 hours, trying to figure out if they are ever going to give me any information that is useful... but am getting increasingly annoyed by the fact that every tutotial seems to be a conversation about theory rather than a "do X to get X result"
@SaddestClown4 жыл бұрын
@@Restart-Gaming its definitely a slog
@GamingBearHD8 жыл бұрын
when I do click the left button now, it starts the animation but it cycles infinitly, it won't stop even when I release it.
@nicholaswillcox7 жыл бұрын
Ever find a solution for why it does this?
@cimbulimbu7 жыл бұрын
mine was that i set both pressed and released left click as punching in character BP
@adeptguy16343 жыл бұрын
My solution is...in the punching example montage.....where you can add montage ,notify settings,you need to click the loop button,then the animation stops at the end of montage......but when you simulate in your world it will stop when you release the left mouse button and when you click it it will activate the animation...it took me 1 day to figure out...
@GamingBearHD3 жыл бұрын
@@adeptguy1634 I don't remember this, but thanks for telling new people stopping by !