Unity Tutorial - Combine Animations

  Рет қаралды 94,040

Firemind

Firemind

Күн бұрын

Пікірлер: 80
@pavah7026
@pavah7026 2 жыл бұрын
For the people that only sometimes want to affect the arms (or another part of the armature), you can have one 'full' mask and one mask that only controls the arms. And change the layer weight of your arms layer to 1 whenever you want to use the arms for a certain animation and then change the weight to 0 when you want to use the full armature instead for an animation. You can change the weight through code of course.
@kyroic6128
@kyroic6128 2 жыл бұрын
thankks i was looking for an answer to this problem, glad to know ts possible to do it
@Wonder_Verse_Tech
@Wonder_Verse_Tech 2 жыл бұрын
Same as kyoric had written...I was also looking for this.
@monkegames6133
@monkegames6133 2 жыл бұрын
For those who have a problem with animations still not combining: Try selecting the affected bones of the avatar mask manually by going into transform>import skeleton>selecting all the affected bones. You have to do this if your imported model is marked as "generic" instead of "humanoid". Awesome video btw!
@JonTopping
@JonTopping Жыл бұрын
How exactly do you do this though? My armature doesn't show up in the "use skeleton from" list. I have an armature for my character, but it's not listed. How do I import the skeleton?
@theRealJonSherman
@theRealJonSherman Жыл бұрын
THANKYOU SO MUCH
@bajagainsatish4828
@bajagainsatish4828 Жыл бұрын
Thank You bro, worked fast and nice because of you!!!
@Hangs987
@Hangs987 5 жыл бұрын
Im just going to say thank you for making this
@FromFame
@FromFame 4 жыл бұрын
I just needed till 1:41 without an IK pass as it's irrelevant for me. Amazing. Thank you for helping me fix my issue. I selected additive and made a mask with 0 weight had 0 idea what I was doing prior.
@018FLP
@018FLP 2 жыл бұрын
I love straightforward tuts like this, thank you very much!
@unknownalien2117
@unknownalien2117 4 жыл бұрын
Your channel is one of the best ones when it comes to unity.
@ThefamousMrcroissant
@ThefamousMrcroissant 4 жыл бұрын
Thank you for showing the ropes. Thanks Unity for including the batteries. Subbed.
@adityasagar206
@adityasagar206 Жыл бұрын
That was so simple THANK YOU SO MUCH
@stickguy9109
@stickguy9109 3 жыл бұрын
YOU ROCK!
@GAMER20Aayush
@GAMER20Aayush 4 жыл бұрын
Thank you so much, only this method worked, I tried different methods for it (like Scripting) but this one worked
@waqasgamedev
@waqasgamedev 3 жыл бұрын
Wonderful. Thanks for sharing this with us. I thought this would be very tough but you explained well.
@greeng448
@greeng448 2 жыл бұрын
Very helpful thank you
@M3g4t0n
@M3g4t0n 2 жыл бұрын
Thank you! Exactly what I needed to create some blended animations!
@beeplove7
@beeplove7 3 жыл бұрын
Thanks for your tutorials man. It really helped. Why you stopped making videos?
@firemind2265
@firemind2265 3 жыл бұрын
Had a couple other projects going on, 2021 will be my comeback year haha
@TheWigglesMan2000
@TheWigglesMan2000 4 жыл бұрын
Crystal clear instructions for exactly what I needed. Thank you!!
@stephenmackenzie9016
@stephenmackenzie9016 3 жыл бұрын
Great thanks. Why whenever I make a humanoid avatar - and then go to record an animation clip, does my guy crouch and drop half way through the damn floor…
@HeadPack
@HeadPack 3 жыл бұрын
Great job. Exactly what I have been looking for.
@christianstrau3017
@christianstrau3017 2 жыл бұрын
Exactly what i needed, thanks!
@cyberIndia212
@cyberIndia212 4 жыл бұрын
Good. Short and precise.. Thank you
@samofohachinweuba1641
@samofohachinweuba1641 4 жыл бұрын
Been trying to learn this for long,thanks alot
@jojugeorge3215
@jojugeorge3215 3 жыл бұрын
Awesome bro, easy to understand. Keep making awesome videos like this \m/
@Classicv5
@Classicv5 4 жыл бұрын
This is exactly what I was looking for and the information was to the point -- thank you!
@dedovagency
@dedovagency 4 жыл бұрын
thx for that also you can do it with regular animatoins by creating layers with weight 1 and ovveide selected
@jackoftraes2122
@jackoftraes2122 Жыл бұрын
Amazing tutorial - thanks! ❤
@LuRybz
@LuRybz 3 жыл бұрын
Thank! Never heard about this Avatar Mask, really useful!
@serkanhayret7515
@serkanhayret7515 3 жыл бұрын
You helped me a lot bro thanks a lot.I got the logic thanks to you:)
@clarkmeyer7211
@clarkmeyer7211 Жыл бұрын
thanks this was exactly what I was looking for. Will this affect the animations if I were to implement them in my own code. For instance I define a blend tree and implement it in my state machines. will these avatar masks affect the base blend tree or will they need to be implemented with code?
@christoffertornquist3373
@christoffertornquist3373 3 жыл бұрын
does this work with custom riggs from say blender?
@tahahussain4365
@tahahussain4365 4 жыл бұрын
You just saved my day
@psixnox9217
@psixnox9217 5 жыл бұрын
Straight forward with great explanation. Thank you so much!
@alexanderwurfl2879
@alexanderwurfl2879 3 жыл бұрын
Is there a possibility to just set a priority for the animationlayers or mask? so if he run he use is hands and if a key is pressed for maybe wave with the hand then he do this with hands while he walks and after he use his hands again for walking, as an example how i mean.
@ShadowOrigin28
@ShadowOrigin28 2 жыл бұрын
It helps. Thanks
@roguedagger1
@roguedagger1 2 жыл бұрын
I added the same walk cycle animation to the top half, but when the other animation plays the arms swinging is off from the legs. Also I have animation events (footstep sounds) being triggered, so when It isn't playing the alternative animation and it's just doing the normal walk it's playing that event twice... any idea how to fix this? Is there a way to only play the animations on the top half when needed, then fade back the the rest of it?
@018FLP
@018FLP 2 жыл бұрын
Are you using animation triggers? Because you can add a boolean (a on/off switch) to trigger an animation in the animation layer, just add a parameter and configure that this parameter is needed to execute a animation in the animation tree and voilá. This is done in the script after reading the input, you switch the boolean to 1(on) then reverts to 0 after playing the animation. You can straight play the animation you want that correlates with the input too (it won't blend well, but it's simple tho). Maybe searching for Mecanim or Animator tutorials can give you some insight. The channel 'I Heart Dev' have a really good series about it, ultra detailed and easy to understand! Best Regards!
@hillstudios1
@hillstudios1 3 жыл бұрын
Thank you sir
@funduino8322
@funduino8322 3 жыл бұрын
Thank you so much
@greeng448
@greeng448 2 жыл бұрын
Can you make a tutorial how to make third person shooter game? ( I really need one)
@animedamv8210
@animedamv8210 2 жыл бұрын
thank you
@a.technology1446
@a.technology1446 4 жыл бұрын
Simply & easy, thank u ❤️
@entertainmentoverloaded5700
@entertainmentoverloaded5700 3 жыл бұрын
Love this man :)
@Desh681
@Desh681 4 жыл бұрын
My animations aren't matching up; like i have a crouch-down animation and a stand-up animation, but the character feet moves when they transition. What do i need to edit the animation itself?
@resumosde5minutos694
@resumosde5minutos694 Жыл бұрын
thanks very much men
@saiyeswanth2157
@saiyeswanth2157 4 жыл бұрын
Thank You for the tutorial !!
@eleocraft278
@eleocraft278 2 жыл бұрын
good job
@rushikeshpotdar2000
@rushikeshpotdar2000 4 жыл бұрын
thanks, most helpful
@JonTopping
@JonTopping Жыл бұрын
This didn't work at all for me, and I'm quite confused. When I followed all these steps, my character stopped animating entirely, when before at least it was walking. Just by this video, what is calling the animation from the upper body layer? He literally just made a new layer, then a state, and had nothing to make it happen, just BOOM the wave animation plays when he pushes a button for some reason? Like are there a bunch of steps missing or something? I know how to get regular animations to play and change, but I feel like there's a lot missing.
@nikitapestov1711
@nikitapestov1711 2 жыл бұрын
absoulure legend
@sachinbirajdarsa
@sachinbirajdarsa 3 жыл бұрын
If you are working with human charas then import it as humaniod.
@Nathan-ki4qn
@Nathan-ki4qn 3 жыл бұрын
Thanks alot.
@thecreativity5793
@thecreativity5793 5 жыл бұрын
u deserve millions subs !
@firemind2265
@firemind2265 5 жыл бұрын
thanks :)
@attkme8061
@attkme8061 3 ай бұрын
i have the 3rd person flying correct but how would i add more animations to it such as fighting and crouching and shooting ?
@anonyanony7469
@anonyanony7469 5 жыл бұрын
Very ez, thanks for your video.
@ziyaad9454
@ziyaad9454 4 жыл бұрын
Is it possible to make the layer mask only overright when say the charater is moving in the base layer and not when he is jumping both move and jump are in base layer? Thanks.
@tylerheenan9393
@tylerheenan9393 3 жыл бұрын
Perfection.
@rafaelskiarteportfolio1098
@rafaelskiarteportfolio1098 4 жыл бұрын
THANKSSSSSSSS
@victorgeere
@victorgeere 4 жыл бұрын
Hi, where do you get all those mecanim humanoid animations that you could just apply to your character? It seems like you just apply an animation from a huge list without worrying that they would work.
@sharif47
@sharif47 4 жыл бұрын
Here is super secret info I don't want to tell anybody. Go to mixamo website, create an Adobe ID, and then you'll get to select from a good number of characters and a good number of animations. All of the animations are applicable to all of the characters (plus, they're free... if I'm correct). You can even use these animations with your own characters (but for that, you need to upload the model to the website and do a few more things).
@aldigangster123
@aldigangster123 4 жыл бұрын
just download Unity's free to use "Standard Assets" pack from the store. It includes a very detailed humanoid mecanim, which does everything from crouching, to running, to jumping.
@alextronic4503
@alextronic4503 4 жыл бұрын
thanks a lot
@Diamond-yn4nu
@Diamond-yn4nu 3 жыл бұрын
hello can you explain how to set the camera this way in the game? Thank
@hpchannel5463
@hpchannel5463 3 жыл бұрын
this video is very useful. Can I have the source code of the game in this video? I'm not sure about how to create the script for the overriding part. Thank you very much.
@Acoyo
@Acoyo 5 жыл бұрын
Heads up, the link for this is broken on your website! Great vids you got a new subscriber today the ragdoll one just made my game look awesome.
@Jacky-fb4th
@Jacky-fb4th 3 жыл бұрын
5:24 is it closed?
@artofcode7
@artofcode7 4 жыл бұрын
How to do it woth blend trees?
@sharif47
@sharif47 4 жыл бұрын
Can someone help me? I made two separate avatar masks, as mentioned here. But even when I apply them to the base and a 2nd layers and set the weight of the 2nd layer to 1, it only seems to play the animation from the 2nd layer as if the masks were never there (or as if they didn't mask anything). My character is from mixamo.
@firemind2265
@firemind2265 4 жыл бұрын
Hey, you can imagine the weight of the animation as opacity, just like you have it in something like Photoshop for example. If you turn the weight of the animation to 1, it covers the animation below. If you turn it to less, it will start blending with the animation on the first layer. Hope this helps
@sharif47
@sharif47 4 жыл бұрын
@@firemind2265 yeah, thanks for replying. But from what I saw (after working on it for several hours) is that "Humanoid" option is not working for the characters. Things work fine if I decide to use transform mask as well. Is this a problem with all mixamo characters or is it only in my case?
@wickedsnuk3812
@wickedsnuk3812 3 жыл бұрын
No, I dont want base layer to apply only lower body. Now what ?
@uHasioorr
@uHasioorr 3 жыл бұрын
In my case I didn't add mask to base layer, and didn't add any animation to first state in upper body layer, everything else had some transition condition. Worked good enough.
@GiantBean
@GiantBean 3 жыл бұрын
Just don't mask the base and the other arm would move as normal.
@jessemattila3120
@jessemattila3120 Жыл бұрын
Thank you
How To Animate Characters In Unity 3D | Animation Layers Explained
16:00
Creating Animation Layers and Masks in Unity 5
14:10
Holistic3D
Рет қаралды 97 М.
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 38 МЛН
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 2,1 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 26 МЛН
HELP!!!
00:46
Natan por Aí
Рет қаралды 64 МЛН
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,6 МЛН
Injured Animations using Layers (Unity Tutorial)
13:43
Ketra Games
Рет қаралды 22 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,2 МЛН
Why the Best Animations in the World are Made with Autodesk Maya
11:04
Class Creatives
Рет қаралды 182 М.
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 5 МЛН
Animation Layers in Unity - Explained
8:47
AnanDEV
Рет қаралды 1,9 М.
Animations in Unity3D
15:18
iHeartGameDev
Рет қаралды 69 М.
The 5 Stages of Learning Blender
3:14
Artin Azarnejad
Рет қаралды 230 М.
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 38 МЛН