Тёмный

Animations with Layers in Unity3D - Unity Devs WATCH THIS 

Jason Weimann
Подписаться 209 тыс.
Просмотров 39 тыс.
50% 1

game.courses/ap - Download the Animation Panel Source Code
bit.ly/3sKGagG - Game Architecture Course
unity3d.group - Join the Group (facebook)
bit.ly/3tzfxdT - Register for the GameDevGuild Conference
bit.ly/3INem13 - The Asset Refresh 50% off SALE!
/ @unity3dcollege - Become a Member
Robot Artist - business.fiverr.com/mr_galsia...
Alien Artist - business.fiverr.com/benflight...
0:00 - What you'll learn
0:50 - Animation Basics
1:30 - Downloading Free Animations from Mixamo
2:20 - Animation Setup - Rig & Avatar Selection
2:30 - Preview Character Animations
2:45 - The Animator Component & Animator Controller
3:20 - Animator Window
3:35 - Previewing the Animations
3:53 - Adding an Animation to a controller
4:08 - Rename Animations
4:42 - Transitions
4:50 - Looping Animations
5:14 - Parameters
5:30 - Punch Triggers
5:37 - Any State Transition
6:00 - Transition Conditions
6:30 - Triggering Animations from Code

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

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 68   
@quietackshon
@quietackshon 2 года назад
Jason, this is Unity gold, people should realise how much knowledge you give away. Your 20 minute tutorial is better than most in it's simplicity and scope. You should remind yourself once in a while that you've changed people's lives with the tutorial content you produce.
@Tarodev
@Tarodev 2 года назад
Damn dude. The sheer amount of information in just 18 minutes of video is nuts. Amazing tutorial.
@aurag1760
@aurag1760 2 года назад
You're both really valuable to the community honestly.
@vrfxrealtime
@vrfxrealtime Год назад
Thank you so much for sharing this! I was searching everywhere to understand how to handle the layers over code!
@MasterofGalaxies4628
@MasterofGalaxies4628 2 года назад
Please, _please_ more Unity animation system tutorials! I'm finally at a spot where I need to start setting up movable characters, and I think these kinds of videos would be a huge help.
@someoneelse9863
@someoneelse9863 2 года назад
Very interested in more animation system stuff! Particularly, good practices with systems like armor or weapons where each one might have different animations on a character model that might not all be in use at once (though I can see a way to do that with this system already). Also, kinematics and inverse kinematics are super cool and deserve some more attention. Thanks so much for making these videos!
@JasonWelch
@JasonWelch 2 года назад
Nice timing! I've just recently began to re-think how I was setting up animation controllers. I'm using a FSM implementation for my player controller and have been going back and fourth trying to figure out if I should go with a different approach. I've landed on thinking about it in more of a model / view perspective where the animation state is just a consequence of the player state, but managing all of the animations within an FSM is tricky, so I realized it may be a lot easier do manage via layers.
@Dominik-K
@Dominik-K 2 года назад
Thanks for a cool tutorial on animation. Animating in Unity can seem daunting and this helps with finding the way around
@StephenWebb1980
@StephenWebb1980 Год назад
The new input system makes trigger callbacks super easy - I don't even need to put transitions connecting anystate to an animation state... I absolutely love the new PlayerInput system.
@alec_almartson
@alec_almartson 2 года назад
Cool! 👍🏻 I was just looking for Tutorials about 3D Animations like this. Thank you 😄
@AlCh3mi_MvP
@AlCh3mi_MvP 2 года назад
Thanks for the vid Jason! I have been looking for a video like this! I would love to see some focus on locomotion and layering to solve for equipping different weapons types! shotgun, pistol, rocket launcher etc!
@SwatHound
@SwatHound 2 года назад
Looking forward to more animation related tutorials. Please consider doing a tutorial on getting a character to sit down on a chair (using inverse kinematics, is this a thing?) so that there is not a gap / need to adjust the sitting position to every individual object.
@diggerfdf
@diggerfdf 2 года назад
I can tell two amazing things about this tutorial. The first one to confirm all the other comments. It's a kick ass, heavily info packed tutorial about animation. And I can vouch this because... I didn't learn much from it. And this is awesome! It is an indication that I reached my objective on learning Unity animation. Now I need to move on into UI and cinemachine.
@simoncodrington
@simoncodrington 2 года назад
Great video mate, haven't even looked into animation layers before. Nice work
@robinsonanimation
@robinsonanimation 2 года назад
super helpfull! you may think this is basic but it does help to see all the tips and tricks you know.
@dorfriedman9115
@dorfriedman9115 2 года назад
Many thanks for this
@GameDevNerd
@GameDevNerd 2 года назад
Animation has always been one thing that can drive me absolutely insane. Mechanim is kind of quirky and picky about things to begin with (I suppose all animation systems are when they have a lot of features) and there are dozens of different ways to do everything. And for every one of those dozens ways, there's a dozen people who will tell you a dozen _wrong_ ways to do that thing, plus a dozen more who will tell you dozens of overcomplicated and tedious ways to do something that should be simple! Thanks for proving how simple you can keep an animation controller and still get the same results as more complicated methods, Jason!
@maciekwolski57
@maciekwolski57 2 года назад
tons of useful informations as always!
@while.coyote
@while.coyote Год назад
this is great, keep doing more on layers and rigging together
@cristiangenete8734
@cristiangenete8734 2 года назад
Thanks for this, very educational video!
@momostonem
@momostonem 2 года назад
Awesome video! gonna check everything on your channel
@zeldinus
@zeldinus 2 года назад
Nice with a great example, i was wondering how animation layers work.
@yudanaim6849
@yudanaim6849 2 года назад
Very good. I found out that using int is more efficient and fast than trigger. You can make a blend tree of uper parts and lower parts
@marekpuchon4878
@marekpuchon4878 Год назад
So i love those videos i learn so mutch staff so thank you Jason for this. But i have really bad day home and ai work so i sad i front of PC and watch this video again. And every tima i heard button i drink. So i 20 minutes i was cold stone drunk. But i feld beter and end of the day i was finnaly happy and move on. So Jason if you read this. Thank you not only to make my dev life better and easier but i also thank you for making me happy with it. Thank you!
@TheRealJackfrog
@TheRealJackfrog Год назад
U look like Dan Harmon. Thanks for the great videos, they got that Dan Harmon quality.
@Rubidev
@Rubidev 2 года назад
I love it when you publish edited videos. I always like to watch all your videos but some of them are too long :( and I`m sure I miss a lot of good informations on them :(. Anyways keep up the good work. I appreciate the efforts of such a professional developer:)
@Beytullah_Cetin
@Beytullah_Cetin 2 года назад
Thanks for the tutorial. It was really helpful. Also, is it possible to prepare a tutorial about Inverse Kinematics. I would like to learn it from you.
@rapaltiar
@rapaltiar 2 года назад
Please talk about animation blending and about how to do combos with animations
@bluecrystalstudio402
@bluecrystalstudio402 2 года назад
Nice :]
@streamcyper
@streamcyper 2 года назад
What's interesting? If Jason is talking I listen.... Tho I would love to see an example of animation/mesh blending. Maybe combined with IK so that you can make complex animations and such with few assets or reusing animations for different purposes..... Mostly just because I would love to see how you would go and work though such a solution.
2 года назад
Hey Jason, quick question, what if I download the animation from Mixamo selecting the 60 frames per second option? Thanks for the tutorial as always man.
@ytubeanon
@ytubeanon Год назад
8:42 is there a link for the 'sci-fi button and ui elements' asset?
@LunarBulletDev
@LunarBulletDev 9 месяцев назад
13:27 animation layers part
@moon911x
@moon911x 2 года назад
@random_precision_software
@random_precision_software 2 года назад
I was hoping to see how to use layers in code Jason..can you do a follow up vid on accessing animatioin layers thru code?
@leosalazar9213
@leosalazar9213 Год назад
Noice
@TheGreatestChuck
@TheGreatestChuck 2 года назад
Great video! (but I do want to challenge the assumption that "every video game needs characters" ;) )
@sqwert654
@sqwert654 2 года назад
Changed my animation controller to use triggers the AI works but the zombie slowly sinks into the ground over time, any ideas? Only things changed were AC and AI script which was a copy of the older one. edit: found it when you import animations in Root transform set "bake into pose ". Interesting that this was not an issue when using Booleans and transitions. Once I started using AnyState this issue appeared
@ruffedout4730
@ruffedout4730 2 года назад
old video I know but yes. I hope you did a colab with Gabriel Aguiar Prod.
@juleswombat5309
@juleswombat5309 2 года назад
I wonder how to add and swap different Weapons to the character animations. Do I have to model and animate each weapon with into the character model, then use some kind of selector - or simply add another Weapon game object, and translate the position/ orientation of that weapon game object against some weapon bone ? (Assuming the artist has rigged such a bone in his model) Then the worry that the Weapons mesh may interfere with the character mesh.
@trashcaster
@trashcaster 2 года назад
The way I've always handled this is to use scriptable objects. You can use them to define hand positions (for using IK to hold the hand on those points), and the mesh, possibly an animator controller (which will move parts of the gun, as well as the IK target points for the weapon). When you do it this way, you can just setup a variable to swap out the mesh for the renderer, as well as the Vector positions used (possibly transforms instead) for the hand IK to follow.
@minecrashinhard
@minecrashinhard Год назад
Ugh, why might a state flicker when toggled away from. Like I push a button and it flickers back and forth for a frame before changing to the different animation.
@adamprokop
@adamprokop 2 года назад
Hey Jason, when do you plan to put up mastermind groups together? I am pretty excited about it
@Unity3dCollege
@Unity3dCollege 2 года назад
Already starting. I've setup a few groups for a test run and to get automations down. First meetings are this weekend, if all goes well I'll be scaling up quickly.
@sqwert654
@sqwert654 2 года назад
Triggers, I have been using bools and switching between them in my AI script....
@esnevip
@esnevip 2 года назад
How is this scheduled to come out on the 14th month? There isn't one.
@Unity3dCollege
@Unity3dCollege 2 года назад
They added new months with the 2022 update
@esnevip
@esnevip 2 года назад
@@Unity3dCollege sweet, we should age slower now.
@bitcode9612
@bitcode9612 2 года назад
Buy Udemy Corse Dead Earth game development gamw institute hop you can clear you comcepts...
@paparomeo4235
@paparomeo4235 2 года назад
Fps in multiplayer. Reload, ads for the players perspective vs for other players
@proportion11
@proportion11 2 года назад
if the layer overwrites all the bones, i don't see the point of using the layer setup as you might as well just transition to the animation you want via the original layer. but if you can choose which bones get used in the layer system then that is good, but if u can only choose what bones via the humanoid system instead of custom rigs, then it kinda forces u out of the layer system
@Unity3dCollege
@Unity3dCollege 2 года назад
You can setup the layers to filter per bone with masks. That's coming in a video soon
@bitmammothOG
@bitmammothOG Год назад
Getting this error in unity 2022 :/ NullReferenceException: Object reference not set to an instance of an object UnityEditor.Graphs.AnimationStateMachine.AnimatorStateTransitionInspector.DoErrorAndWarning ()
@QuynhPhan-fk3jg
@QuynhPhan-fk3jg 2 года назад
Sorry for out of scope. But can you tell me how to startCoroutine after an object was destroyed? Thank you sir
@nickmaunder6478
@nickmaunder6478 2 года назад
Depends on what you want to do. If you are wanting to run something like a particle after a character, the coroutine would be run on the particle effect rather than the player.
@quietackshon
@quietackshon 2 года назад
How to fix wayward characters? When swapping out a character the run/walk direction can be off, meaning the character tracks left or right when the 'w' or up arrow is pressed. A not very pleasant experience for the user.
@xmaserbex7392
@xmaserbex7392 2 года назад
Where are the links for the artists from fiverr? :D
@peterminton3572
@peterminton3572 2 года назад
Do you have a discord group?
@Tenzordk
@Tenzordk 2 года назад
I see the difference, but I don't understand, the why one over the other. I can only see that the layers with weight can make more interesting tranissions. What am I missing? Thanks for the help and great video!
@user-on6uf6om7s
@user-on6uf6om7s 2 года назад
Why use multiple layers instead of one layer? I think it's just so you can have multiple animations that do different things that you might want to keep separate for some reason. So if you have a lip sync animation that you want to play while a character is walking, you could have those animations on separate layers. You could make both animations into one animation but then what if the character is running or crouching instead? Layers allow for those to remain independent.
@DanielPerez-bh2fm
@DanielPerez-bh2fm 2 года назад
@@user-on6uf6om7s ahh that makes sence. Thanks for the awnser :)
@georgegordian
@georgegordian 2 года назад
Very helpful video! Thank you! I'm curious, how much did these types of meshes, materials, textures, rigging and animations cost on fiverr (just a general range would be helpful)?
@Dehakuzo
@Dehakuzo 2 года назад
I have a legal question, You hired people off Fiverr to make those for you, did you have to draft up a contract, or use one from a lawyer to protect your ownership of them? Or are they floating in the grey area?
@bradleysmith9924
@bradleysmith9924 2 года назад
Doesn't look like you plug the artists in the description btw. :)
@Unity3dCollege
@Unity3dCollege 2 года назад
Gonna fix that soon, just waiting on their approval to post the links. (Last time I shared onr, the guy got flooded with orders and had to disable his gig)
@bradleysmith9924
@bradleysmith9924 2 года назад
@@Unity3dCollege Aw no worries, that makes sense! Big fan of your videos Jason. :)
@Ben-rz9cf
@Ben-rz9cf 2 года назад
@@Unity3dCollege You have my permission :)
@azgan123
@azgan123 2 года назад
I used to watch your vids a lot but the thumbnails, titles and constant shilling for your courses are a huge turn-off. Perhaps consider being a bit more subtle?
Далее
AI Animations with Unity's Muse Animate
7:03
Просмотров 5 тыс.
Escaping Unity Animator HELL
18:18
Просмотров 498 тыс.
小天使和小丑离家出走#short #angel #clown
00:36
ОСКАР И ДЖОНИ БРОСИЛИ НАС 😭
01:00
I Made the Same Game in 8 Engines
12:34
Просмотров 3,9 млн
Games Where You're NOT the Main Character
14:52
Просмотров 2 млн
Move and Animate a 3rd Person Character in Unity3D
23:10
20 Advanced Coding Tips For Big Unity Projects
22:23
Просмотров 163 тыс.
小天使和小丑离家出走#short #angel #clown
00:36