ALL TUTORIALS.
Category
📚
LearningTranscript
00:00:00So hello everyone, welcome back to the channel Web4Click
00:00:04And as you know that I have discussed two things in the last video
00:00:09First is Holding with Characters
00:00:11And second is Holding with Objects
00:00:14I have already explained Holding with Objects in the last video
00:00:18And in today's video we are going to discuss Holding with Characters
00:00:23So here we will do practically three things
00:00:27First is our character takes out the sword from his body and shoots it
00:00:39Second example we will see how our character picks up a gun and shoots it and puts it back
00:00:57And third example we will see how our character drives a bike
00:01:16And let me tell you one thing that all these three examples depend on one constraint
00:01:21Which is called Child of Constraint
00:01:23By the way, I had explained it to you in the last episode with Holding with Objects
00:01:29If you have not seen the last video, then the link is available in the description, do watch it
00:01:34Today we are going to use Child of with our rig
00:01:37So without wasting time, let's start
00:01:40So we have come to the screen of our blender
00:01:43And you can see that I have taken a character here
00:01:46I have rigged this character with the help of Mix Ammo
00:01:49For those who don't know, let me tell you that with the help of Mix Ammo we can rig the character very easily
00:01:54And Mix Ammo has a lot of animations that we can use very easily in our character
00:02:01I have already made a video on Mix Ammo rig and animation
00:02:05You can go and watch it in episode no. 36
00:02:08So for now we will not focus too much on pose and animation
00:02:12Here our main target is to hold and drop anything of any character
00:02:17So let's see how we interact with the rig
00:02:22First of all, I will make its controllers here
00:02:25For that, I will go to the add-on of Mix Ammo
00:02:27So first of all, you have two options here
00:02:30Create Control Rig and Zero Out Rig
00:02:33If any animation comes in your character from Mix Ammo
00:02:36So simply you have to click on Zero Out Rig
00:02:39And it will come in our normal pose and all the animation will be finished
00:02:43And here if I want to make its controls
00:02:45So I have been given the option above
00:02:47Create Control Rig
00:02:48Simply I have to click on it
00:02:50All the options here have to be ticked and press the OK button
00:02:54With this, all my rigs will be ready here
00:02:57And now our character is ready here for animation
00:03:01Now first of all we need a sword
00:03:04So for that we will go to Sketchfab
00:03:06I will press the N button here
00:03:07I will click on Sketchfab
00:03:09I will activate it first
00:03:11From here I will take a sword
00:03:13With the name SWARD
00:03:15Usually it is SWORD
00:03:17But I will put it here
00:03:19And from here I will select a sword
00:03:22And I will import it here
00:03:25The sword is very big
00:03:26That's why it is coming like this
00:03:28So by pressing the S button, I will make it smaller
00:03:31And I will keep making it smaller by pressing the S button
00:03:33Until it becomes smaller than my character
00:03:36In this way, my sword will come here
00:03:39By chance, if you deselect it
00:03:41You can see that the sword has different parts
00:03:44And now I will select it here
00:03:46And I will pull it
00:03:47So it will trouble me like this
00:03:49So the best way for that is that I will go to Outliner
00:03:52And here I will right click it
00:03:54I will click on Select Hierarchy
00:03:56So my whole sword will be selected here
00:03:59And now I can take it separately like this
00:04:02The things that are coming like this
00:04:04It is difficult to select it
00:04:06Anything that you want to hold
00:04:08First of all, group it
00:04:10For this, I will select it
00:04:12I will press Ctrl J
00:04:14And it will be grouped here
00:04:16In this you can see
00:04:17The shape of this triangle
00:04:19This is for my object
00:04:21So when my object is selectable
00:04:23So in this way, its triangle comes here
00:04:26So this type of triangle
00:04:28It will tell you that it is a whole object
00:04:31And here I make a collection
00:04:33With the name of New Collection
00:04:35And I give its name Objects
00:04:37I take this collection out first
00:04:40And I put the sword in Objects
00:04:43So let's go first
00:04:45I will set the sword here on my character
00:04:48It is very easy to set the sword
00:04:50I will take it here
00:04:51Here you can see
00:04:52I will have to rotate the sword a little
00:04:54So this time I will rotate it in Z direction
00:04:56I will press R button
00:04:57I will press Z
00:04:58And I will click on 90 degrees
00:05:00So it will rotate like this
00:05:02To bring it in focus
00:05:03I will click on the dot button
00:05:04The dot of numpad
00:05:05I will click on it
00:05:06I will rotate it a little like this
00:05:09So my sword will be set here like this
00:05:13Now the first challenge that comes
00:05:15Is to connect the sword to the character
00:05:18So for that I have already told you
00:05:20I have to take a constraint in this
00:05:22I will select the sword here
00:05:23After that I have to go to Properties
00:05:25And here I will get an option
00:05:27Object Constraint Property
00:05:29I have to click on it
00:05:31After clicking
00:05:32Constraints will come to me like this
00:05:34And in this I will use Child of Constraint
00:05:37After using Child of Constraint
00:05:39Simply I have to select the armature from the dropper
00:05:44And I can connect it here with any bone
00:05:47So for now this neck
00:05:49I will connect it with this neck bone
00:05:52But here it is possible
00:05:53If you have a lot of such bones
00:05:56So how will you know
00:05:57What is the name of which bone
00:05:59The easiest way is
00:06:01First select the character
00:06:03Go to its pose mode
00:06:05And whichever bone you want to know
00:06:07Simply click on it
00:06:08As soon as you click
00:06:09Its name will come here
00:06:11You can see
00:06:12By the name of Control Neck
00:06:14Its name is coming here
00:06:15So again we will go to Object Mode
00:06:17Select the sword
00:06:19And in the bone here
00:06:20The neck
00:06:21The bone was my Control Neck
00:06:23I will select it here
00:06:25As soon as you select
00:06:26As soon as you select
00:06:27You will see that the sword
00:06:28Will run somewhere else
00:06:29For that I have given an option here
00:06:31Set Inverse
00:06:33I have already told you all these things
00:06:35In the last episode
00:06:36So as soon as I click on Set Inverse
00:06:38My sword will come back to its position
00:06:41So anytime
00:06:42For the first time
00:06:43Only this will happen for the first time
00:06:44Later you have to make its location
00:06:46Keyframe here
00:06:48For the first time
00:06:49You can click on Set Inverse here
00:06:51And bring it to its position
00:06:53Now my sword
00:06:54Is connected to my character
00:06:56To see
00:06:57If I move the character
00:06:58Then you will see
00:06:59My sword is moving with the character
00:07:02Now our next animation comes
00:07:04Pulling the sword here
00:07:06For this you have to go to Mixamo's website
00:07:09Login
00:07:10And here you have to search
00:07:12Sword
00:07:13S-W-O-R-D
00:07:14Sword
00:07:15As soon as you click on Sword
00:07:18Here I can see an animation of pulling a sword
00:07:21As soon as I click on it
00:07:23It will be applied
00:07:24So this is not to pull the sword
00:07:26But to keep the sword back
00:07:28I can see one more animation here
00:07:30Draw
00:07:31So this is to pull the sword here
00:07:32I have got the animation of pulling the sword
00:07:35Now simply you have to close it here
00:07:38And click on Download from here
00:07:41And without skin
00:07:42Here
00:07:43Once your rig is already connected to it
00:07:46So by clicking on Without Skin
00:07:47You can download it from here
00:07:49So here I have already downloaded many animations
00:07:52Draw a Great Sword 2
00:07:54I have to use this animation
00:07:57The procedure to use it is very easy
00:07:59Simply go to Blender
00:08:00Go to File
00:08:01Click on Import
00:08:03And here
00:08:04FBX file
00:08:05You have to use this format always
00:08:08And
00:08:09As soon as I import it here
00:08:12In this way
00:08:13My rig will come here
00:08:16Now if I have to take its animation in my character
00:08:19Then it is very easy
00:08:21Simply select your rig
00:08:23And
00:08:24We will go to the add-on of Mixamo
00:08:26And here you will get an option
00:08:28Source Skeleton
00:08:29On Source Skeleton
00:08:30Simply click on the dropper
00:08:32From where you have to pick up the animation
00:08:34And after clicking
00:08:36Then select the rig
00:08:38In which you have to apply this animation
00:08:40And as soon as you click on it
00:08:42The option will be highlighted here
00:08:43Apply Animation to Control Rig
00:08:47Simply click on it
00:08:49And as soon as you click on it
00:08:51Animation will be applied to it
00:08:54Simply I have to delete it from here
00:08:56I have already told all this procedure in episode 36
00:09:00Of Mixamo
00:09:01So let's move ahead
00:09:02Now I will increase my timeline a little
00:09:05And if I want to see its animation
00:09:07Then I will simply select it
00:09:08And here I can see its animation
00:09:10So this animation is starting directly from here
00:09:12So I want a little animation to start from my front
00:09:15So I drag it here a little bit
00:09:18And I want my character to stay in idle state
00:09:23So I have to select the rig
00:09:25I have to go to its pose mode
00:09:27And here I will reset its pose
00:09:30I will press Alt-R button
00:09:32Remember that the entire character should be selected
00:09:34So I will select it from A
00:09:36I will press Alt-R and Alt-G button
00:09:39Whatever changes I had here
00:09:41They will all end here
00:09:43Now I will press the I button here
00:09:45So you will see that my keyframe option is not coming here
00:09:49So that keyframe option will not come with Mixamo
00:09:52For that you have to go to pose
00:09:54Animation
00:09:55And here you have to select
00:09:57Shift-Ctrl-Alt-I is its shortcut
00:10:00Or you have to click on Change Keying Set
00:10:03And Location-Rotation-Scale-Custom-Property
00:10:06I select this one here
00:10:08I will come back to object mode here
00:10:11I will select this keyframe
00:10:13And I will press Alt-R button
00:10:14And I will bring it right next to it
00:10:16That means it will stay in idle state
00:10:18And as soon as it moves forward a little
00:10:20It will convert into this pose
00:10:22So our animation has been applied to it
00:10:24Let's go back to object mode
00:10:27And here we have to hold this sword in its hand
00:10:30So to hold the sword
00:10:31First we will see its keyframe here
00:10:33And here we will go to its first keyframe
00:10:36Where it holds my sword
00:10:38To move
00:10:39We can move it on the keyframe with the help of this up-down arrow button
00:10:43And here you can see that its sword is separate
00:10:47And its hand is moving separately
00:10:49So we have to set this a little
00:10:51So first of all, come to the keyframe
00:10:53And change the pose of its hand a little
00:10:57I will select the hand from here
00:10:59I will pull it a little and do it like this
00:11:01Now I will hold its hand a little with the G button
00:11:04And I will bring it down like this
00:11:07If you want, you can move the sword a little
00:11:11But for that you will have to go back to object mode
00:11:14Now let's move the sword a little
00:11:16Always keep one thing in mind
00:11:18When we move a sword here
00:11:20Its location rotation is saved in this constraint in a different way
00:11:26And when will it come, I will tell you later
00:11:28So now it has held my sword properly
00:11:32If I press the M button or click the add marker here
00:11:35It will give me a marker
00:11:37With which I will know where my keyframe is
00:11:39So let's save its pose again
00:11:43For this, I will select the rig from here
00:11:45And I will go to its pose mode
00:11:47I will press the A button
00:11:49And remember that all your keyframes should be selected here
00:11:53Only then it will overwrite the old keyframe
00:11:56Otherwise, there will be a problem
00:11:58Its old pose was something else
00:12:00Now I have made changes here
00:12:02So if I want to overwrite it
00:12:05And when I click on change keyframe setting
00:12:07I have to click on location rotation
00:12:09And with this, my keyframe will be overwritten
00:12:12If you use animation, then it can be difficult to overwrite
00:12:17For this, first of all, let's save its pose here
00:12:22So I have already told you how to save the pose
00:12:25You have to go to object data properties
00:12:27And here you will get the option of a pose library
00:12:30You just have to click on it
00:12:32And here you have to click on the plus button
00:12:36Remember that my character should be selected by pressing the A button
00:12:40And when I click on this plus button
00:12:42And when I click on add new
00:12:44So my pose will be created here
00:12:46I will name it pick
00:12:49This is my temporary library
00:12:51Now if I want to get this character's sword out of here
00:12:54So for that, I will duplicate this sword here
00:12:58So whatever we are getting out of here
00:13:00Or whatever we are holding
00:13:02We have to duplicate it here
00:13:03Just press the D button
00:13:05And click
00:13:06So my sword will be duplicated here
00:13:08And here in the timeline, you can see
00:13:10How my sword has come
00:13:12In this, I will name it
00:13:14Sword in hand
00:13:16You have to manage the name very well here
00:13:18So that you keep in mind
00:13:20For which sword you are making a keyframe here
00:13:23Now I have two swords in this
00:13:25One sword is behind it
00:13:27And the other sword that we will get out of his hand
00:13:29So the other sword
00:13:31We will connect it with his hand
00:13:33Now as you can see
00:13:35As soon as I duplicated it
00:13:37The constraint has also come here
00:13:39But both the constraints
00:13:41Both my neck bones
00:13:43I connected it with this
00:13:45But the other sword
00:13:47I have to connect it with his hand bone
00:13:49I have to connect it with his hand bone
00:13:51So I take a bone of his thumb
00:13:53For this, I have to go to find out
00:13:55First of all, I have to select the rig
00:13:57After that, I have to go to pose mode
00:13:59And the rig of the thumb
00:14:01I will select it here
00:14:03And here my name will come
00:14:05Ctrl Thumb 3 Right
00:14:07I will use this rig here
00:14:09We will go back to object mode
00:14:11Now here you have to come to the outliner
00:14:13And the sword that you have to hold in your hand
00:14:15You have to select it
00:14:17And the bone there
00:14:19I remove it here
00:14:21And in this, I will put
00:14:23Ctrl H U M P
00:14:25And the thumb of the right hand
00:14:27Ctrl Thumb 2 Right
00:14:29I will select it here
00:14:31So you will see my sword
00:14:33The other sword ran away
00:14:35For this, I will click on set inverse
00:14:37So my sword will come back here
00:14:39But separate from its position
00:14:41The reason for this is
00:14:43I slightly adjusted the sword
00:14:45That's why the location in it
00:14:47It is saved here
00:14:49And because of that
00:14:51The sword is coming to another place
00:14:53So there is no problem in this
00:14:55This is a very easy way
00:14:57I have already told you
00:14:59We will use the 3D cursor
00:15:01And we can move this sword here
00:15:03We have no problem here
00:15:05So to take it on this sword
00:15:07First of all, I have to bring the 3D cursor
00:15:09Press the Shift S button
00:15:11Click on Cursor to Selected
00:15:13And this time I have to select this sword
00:15:15And press the Shift S button
00:15:17Click on Select to Cursor
00:15:19So my sword will go on it
00:15:21If there is a little disbalance
00:15:23So there is no problem
00:15:25There will be no difference
00:15:27And now if I turn it forward
00:15:29So you will see the sword
00:15:31It came in its hand like this
00:15:33So there are two different swords like this
00:15:35One is on our waist
00:15:37And the other is in our hand
00:15:39You have to set both these swords
00:15:41Now we have to manage them here
00:15:43Their Hidency
00:15:45So let's come to Keyframe 0
00:15:47First of all
00:15:49We don't want this sword
00:15:51So we have to hide this sword
00:15:53We will never hide from here
00:15:55To hide
00:15:57We have another option
00:15:59You have to go to Object Properties
00:16:01Click on Object Properties
00:16:03Here you will get an option
00:16:05Visibility
00:16:07You have to select this visibility
00:16:09Here you will get two options
00:16:11Viewport and Render
00:16:13Viewport means
00:16:15What you are seeing here
00:16:17Render means
00:16:19What you will export video
00:16:21You have to hide this sword here
00:16:23Here you can animate it
00:16:25You can see two small points
00:16:27You can see two small points
00:16:29You can animate it with the help of these
00:16:31First of all
00:16:33Let's hide it from here
00:16:35After hiding
00:16:37Now we have to go first
00:16:39Where it removes the sword
00:16:41For this I will select its rig
00:16:43I will move the arrow up and down
00:16:45I will move the arrow up and down
00:16:47You can go to pose mode
00:16:49You can go to pose mode
00:16:51Press A
00:16:53First of all
00:16:55Let's go to its first pose
00:16:57Now this sword will disappear
00:16:59Now this sword will disappear
00:17:01And the hand sword will come here
00:17:03For this we will go to object mode
00:17:05For this we will go to object mode
00:17:07You have to be careful
00:17:09You have to be careful
00:17:11You have to be careful
00:17:13You have to be careful
00:17:15You have to be careful
00:17:17You have to be careful
00:17:19You have to be careful
00:17:21You have to be careful
00:17:23You have to be careful
00:17:25You have to be careful
00:17:27You have to be careful
00:17:29You have to be careful
00:17:31You have to be careful
00:17:33You have to be careful
00:17:35You have to be careful
00:17:37You have to be careful
00:17:39You have to be careful
00:17:41You have to be careful
00:17:43You have to be careful
00:17:45You have to be careful
00:17:47You have to be careful
00:17:49You have to be careful
00:17:51You have to be careful
00:17:53You have to be careful
00:17:55You have to be careful
00:17:57You have to be careful
00:17:59You have to be careful
00:18:01You have to be careful
00:18:03You have to be careful
00:18:05You have to be careful
00:18:07You have to be careful
00:18:09You have to be careful
00:18:11You have to be careful
00:18:13You have to be careful
00:18:15You have to be careful
00:18:17You have to be careful
00:18:19You have to be careful
00:18:21You have to be careful
00:18:23You have to be careful
00:18:25You have to be careful
00:18:27You have to be careful
00:18:29You have to be careful
00:18:31You have to be careful
00:18:33You have to be careful
00:18:35You have to be careful
00:18:37You have to be careful
00:18:39You have to be careful
00:18:41You have to be careful
00:18:43You have to be careful
00:18:45You have to be careful
00:18:47You have to be careful
00:18:49You have to be careful
00:18:51You have to be careful
00:18:53You have to be careful
00:18:55You have to be careful
00:18:57You have to be careful
00:18:59You have to be careful
00:19:01You have to be careful
00:19:03You have to be careful
00:19:05You have to be careful
00:19:07You have to be careful
00:19:09You have to be careful
00:19:11You have to be careful
00:19:13You have to be careful
00:19:15You have to be careful
00:19:17You have to be careful
00:19:19You have to be careful
00:19:21You have to be careful
00:19:23You have to be careful
00:19:25You have to be careful
00:19:27You have to be careful
00:19:29You have to be careful
00:19:31You have to be careful
00:19:33You have to be careful
00:19:35You have to be careful
00:19:37You have to be careful
00:19:39You have to be careful
00:19:41You have to be careful
00:19:43You have to be careful
00:19:45You have to be careful
00:19:47You have to be careful
00:19:49You have to be careful
00:19:51You have to be careful
00:19:53You have to be careful
00:19:55You have to be careful
00:19:57You have to be careful
00:19:59You have to be careful
00:20:01You have to be careful
00:20:03You have to be careful
00:20:05You have to be careful
00:20:07You have to be careful
00:20:09You have to be careful
00:20:11You have to be careful
00:20:13You have to be careful
00:20:15You have to be careful
00:20:17You have to be careful
00:20:19You have to be careful
00:20:21You have to be careful
00:20:23You have to be careful
00:20:25You have to be careful
00:20:27Both the situations are different
00:20:29Both the situations are different
00:20:31We have to work in different ways
00:20:33Let's see how to work
00:20:35Let me tell you
00:20:37If you want to work with Mixamo
00:20:39Or if you want to make your animation easy
00:20:41Or if you want to make your animation easy
00:20:43You have to use Dope Sheet
00:20:45You have to use Dope Sheet
00:20:47Dope Sheet is like a timeline
00:20:49But it has more features than a timeline
00:20:51If we want to save animation
00:20:53We can save it with the help of Dope Sheet
00:20:55We will keep saving your animation
00:20:57We will keep saving your animation
00:20:59You have to do it in two ways
00:21:01You have to do it in two ways
00:21:03yapıyorsun
00:21:05Video
00:21:07Video
00:21:09Let's do this
00:21:11Let's do this
00:21:13Let's do this
00:21:15Let's do this
00:21:17Two ways
00:21:19Two ways
00:21:21One is
00:21:23I will select it, so the animation is only coming in my dope sheet, here it is not selectable in non-linear.
00:21:28So for this, you have to take another option here in the dope sheet, action editor.
00:21:33With the help of the action editor, we can save our animation here.
00:21:37If you want to give some name to the animation, then you can change its name here.
00:21:41Like I put its name here, I pick.
00:21:44If I want to save it in non-linear, then I will click on push down here.
00:21:48My animation will come here, all the keyframes will move away from here.
00:21:52If I want to bring the keyframe back, then I simply have to bring the cursor on it and press the tab button.
00:21:57My keyframes will come here.
00:21:59And the way we work in the timeline here, we can work here in the same way.
00:22:04When the work is finished, we will press the tab button again.
00:22:07Keep in mind that your cursor should be back in its place, that is, on non-linear.
00:22:13And by pressing the tab button, it will go back to me.
00:22:15Now let's go to our animation here.
00:22:18First of all, whatever object we have taken, if we want to put it back here,
00:22:23then we can do it very easily with reverse animation.
00:22:27Reverse animation means that when we have done some animation,
00:22:30then if I reverse it back and see, then you see, it will put the sword back like this.
00:22:35If I take it to the side, then it will be my play here and it will take out the sword and show it like this.
00:22:40And if I take it back, then it will reverse it and put it back like this.
00:22:44Now let's see how to use reverse animation.
00:22:47First of all, let me enlarge it so that you can see it clearly.
00:22:50If you want to reverse anything, you have to press the N button and its properties will come here.
00:22:55Keep in mind that whatever you want to reverse, you have to select only that strip here.
00:23:00After this, you have to go to the stripe.
00:23:02The option of the stripe can be in different versions at different places.
00:23:06And here you can get one or more strips.
00:23:09For now, we have to go to the active stripe and find the option of reversed in it.
00:23:15If I want to reverse it, then first of all, I take a duplicate by pressing Shift D from here.
00:23:20You will see that as soon as it is duplicated, my two different tracks will be made here.
00:23:24You have to keep only two tracks.
00:23:26In one track, you will keep all the animations that you will keep in pose mode here.
00:23:31And in the second track, you will keep the animation that you will do in object mode.
00:23:37So first of all, let's come back to reverse animation and I will bring it in this line.
00:23:41All the animations should always be in the same line.
00:23:44Otherwise, you will have a problem.
00:23:45So I will bring it here and reverse it.
00:23:48And to reverse it, I just have to click here.
00:23:52And you will see how my character will be reversed here.
00:23:58Now the reverse that we have done to the character, the character has been reversed in it.
00:24:02But the process of hiding the sword will have to be changed a little in it.
00:24:08If I reverse it here, then you will see that my sword is visible here.
00:24:13And now I have to hide it.
00:24:15That is, I have to use the animation to hide it.
00:24:17So the very simple way to hide it is that you simply have to go to the timeline here.
00:24:23And where you have to hide it, where you have to show it, you have to set it here.
00:24:29Now if I want to show its keyframe on this side, then I will simply bring it on it.
00:24:33And if you press the Tab button, then all its keyframes will come to me in this way.
00:24:37With the help of the up-down key of my arrow, I can move my timeline like this.
00:24:44And now I just have to hide the sword here.
00:24:47So first of all, I will bring the timeline to the other side.
00:24:50And here you will see that if I have to go to each tab, then I will go to the animation like this.
00:24:57And I have to see where I have to hide this sword and show the other sword.
00:25:02So here it has put the sword back in its place.
00:25:09And its next keyframe, that is, I will bring it forward with the help of the left arrow.
00:25:16I have to hide it here.
00:25:18First of all, its keyframe is saved here on the back of it.
00:25:27I will press the I button here.
00:25:31Now I have to move one keyframe forward with the help of the right arrow.
00:25:34And keep in mind that your sword should be selected here.
00:25:38The sword for which you are hiding it.
00:25:41Simply remove your tick from here.
00:25:43And if you click on both of them with the I button, then it will become my keyframe in this way.
00:25:50Its color will change a little.
00:25:53When you select the sword, then its keyframe will come here in this way.
00:25:57By chance, if you need it later, then you can do it with the help of this keyframe.
00:26:03One thing you have to keep in mind is that whatever you select, its keyframe will show here.
00:26:08If I have selected the character, then the character's keyframe will show.
00:26:11If I have selected the sword here, then the sword's keyframe will be visible here.
00:26:16Now I have to show my other sword and where to show it, let's see.
00:26:20First of all, I will come back to its keyframe here.
00:26:24So here on this side, I hid it here next to it.
00:26:31And where I made a keyframe of its visibility here,
00:26:34there I will make an animation of its other sword being hidden.
00:26:39So for that, I just have to go and keep in mind that our sword should be selected here.
00:26:45And after that, I just have to press the I button here.
00:26:48What will happen by pressing the I button is that the animation of our hiding
00:26:52So my sword will remain hidden till here.
00:26:54Now a keyframe will come forward from the right arrow.
00:26:57And here we have to show that sword.
00:26:59So we will tick both of them here.
00:27:02So our sword will be back on its shoulder.
00:27:06And here we have to bring it here again to make a keyframe.
00:27:09The mouse should come up here.
00:27:13And you have to press the I button.
00:27:15And this keyframe will be saved here.
00:27:18The keyframe you want to see, you just have to select it.
00:27:21Then you will see this keyframe.
00:27:23Now my process of keeping the sword here is complete.
00:27:27Simply I will come down here.
00:27:28I will do it again like this with the tap button.
00:27:31Now I will play it here and show you how it will take out my sword.
00:27:36I will enlarge the screen here.
00:27:39It took out the sword and put it back in its place.
00:27:43In this process of hiding and showing, you will have to see carefully
00:27:48how far you have to hide the sword and how far you have to show it.
00:27:52After that, the animation will be very easy for you.
00:27:55Now let's look at its second example.
00:27:57How do we take any object from one place and put it in the other place?
00:28:13So for the second example, I have taken a model here.
00:28:22I have used this model once before.
00:28:25And one thing I will tell you all that whoever is my member,
00:28:28they will get these rigged models files in their membership tab.
00:28:32You just download these files and you can practice it in it.
00:28:36So let's continue our next challenge here.
00:28:39First of all, I make my rig a controller.
00:28:42For that, I will go to Mixamo again.
00:28:44And I will click on the Create Control Rig here.
00:28:47And I will click on OK.
00:28:48It should be ticked on all.
00:28:50And my controllers have been generated here.
00:28:53Now let's find a gun here first.
00:28:56For the gun, I will go to Sketchfab.
00:28:58I will activate it.
00:29:00Let's search for a gun here.
00:29:03So let's take the first gun here.
00:29:05I will import it here.
00:29:07After importing, this gun has come here.
00:29:10I will bring it to the side by pressing Y with the G button.
00:29:13I will delete the extra things from here.
00:29:17So you can see that it is in different parts.
00:29:20So for now, I don't want this part.
00:29:22And I don't want this part.
00:29:25To focus, first select it.
00:29:27If you press the point button, it will come in focus like this.
00:29:30I will remove it from here.
00:29:31Simply, I will use this gun that looks like a pistol here.
00:29:36Now you can see that there are small relationship lines here.
00:29:39It means that there are many different objects here.
00:29:44First of all, I will tell you that your object should be one.
00:29:49So for this, I will try to group it with CTRL J.
00:29:52So you can see that I am having a lot of trouble in grouping here.
00:29:55So what I will do for this, first I will put it in the folder.
00:29:59And for that, I will make a new collection here.
00:30:01And I will name it Gun.
00:30:03Now I will right click on my gun.
00:30:04I will click on Select Hierarchy.
00:30:06So that it is completely selected from here.
00:30:08And I will put it in the gun.
00:30:10Now it has come in my folder.
00:30:13If I see anything else, I will click on Delete Hierarchy and delete it from here.
00:30:18Now first of all, I will select it here.
00:30:20I will press ALT P.
00:30:22I will click on Clear and Keep Transform.
00:30:24You will see that a lot of things have come in front of me.
00:30:29Now simply, whatever I want in this, I will select it from here.
00:30:33And I will press CTRL J.
00:30:35And it will be grouped here.
00:30:38After grouping, you can see in the timeline.
00:30:40Here you can see my triangle.
00:30:42This is my object.
00:30:43The rest of the Raxis types are my useless things here.
00:30:48So I will select these useless things from here.
00:30:50I will select the top one.
00:30:51I will press SHIFT and select it down and delete it.
00:30:54In this way, my gun has come here.
00:30:56Now first of all, we will set this gun on the back side here.
00:31:01And from the back, it will take out my gun.
00:31:04So I will scale it and make it a little smaller.
00:31:06Accordingly, I will use the 3D cursor to bring it here.
00:31:09I will put the side here.
00:31:11After that, I will click on the Move Tool.
00:31:13I will select the gun.
00:31:15And by pressing the SHIFT S button,
00:31:17by doing the Selection to Cursor, the gun will reach there.
00:31:20Let's set this gun a little bit.
00:31:22To rotate it, press the R button.
00:31:24And if you press the Z button, it will rotate on the Z axis in this way.
00:31:28Now we will press the R button and rotate it a little on the Y.
00:31:32In this way, on the green axis.
00:31:35So that it goes down.
00:31:37Now by pressing the S button, we will scale it and move it back a little.
00:31:40And we will set it slightly on the outside like this.
00:31:44We will keep its handle on this side.
00:31:46So that my character can hold it easily.
00:31:49So I will select this gun.
00:31:51I will press the R button.
00:31:53I will press the Z button.
00:31:55And I will rotate it at 180 degrees like this.
00:31:57If you want to keep it inside its body,
00:31:59then set it inside its body a little like this.
00:32:02Now let's go to the animation.
00:32:04Our first task is to connect this gun with it.
00:32:07For that, I have already told you.
00:32:09Like we did in that.
00:32:11We will simply use our Constraint, Child Of.
00:32:13After that, we will connect this armature with it.
00:32:17If we select it, then this armature will come in it.
00:32:19After that, if we want to connect any bone in it,
00:32:21then I will take a bone near it here.
00:32:24So it has this bone.
00:32:26First of all, I have to select this armature and go to pose mode.
00:32:30And here I will connect this armature with it.
00:32:33Control Spine.
00:32:35We will come back to object mode to connect it.
00:32:38And here we will search SPINE.
00:32:42Control Spine.
00:32:44If the gun runs somewhere else,
00:32:46then I have already told you.
00:32:48We will click on Set Inverse.
00:32:50The gun will come back to its place.
00:32:52So in this way, my gun is set with it.
00:32:54So let's move it here and see
00:32:56whether my gun is connected to it or not.
00:32:59As soon as I move it, you will see that the gun is connected to it.
00:33:02And it is moving with it.
00:33:04Now let's move on to the animation.
00:33:06And first of all, let's see the animation before removing the gun.
00:33:09If you want to make a pose in it individually,
00:33:11then you can also make a pose individually.
00:33:13There is no problem in this.
00:33:15For now, to work quickly here,
00:33:17let's pick a small animation from Mixamo.
00:33:19So in Mixamo, first of all, I search Gun in it.
00:33:23First of all, I have got the animation of the gun here.
00:33:26If I apply it to my character,
00:33:28then you will see that the character will remove the gun in this way.
00:33:31Now I have to click on Download here.
00:33:34And I have to click on Without Skin.
00:33:36What will happen with without skin?
00:33:38The body of the character will not come here.
00:33:40I will simply download it from here.
00:33:42So here you can see that I have saved this animation
00:33:44in the name of Drawing Gun.
00:33:46Let's come back to our Blender.
00:33:48And whatever I have downloaded there,
00:33:50I have to simply select it here.
00:33:52And as soon as I click on Import,
00:33:54my character has come here.
00:33:56As you can see here,
00:33:58the bone of my character is very small.
00:34:00So I will increase it accordingly.
00:34:02I will click on Mixamo.
00:34:04From where you want to take animation,
00:34:06you have to select it.
00:34:08And in which you want to apply,
00:34:10you have to click on it and apply it here.
00:34:12My animation has been applied here.
00:34:14I delete this animation from here.
00:34:16I don't need it anymore.
00:34:18My animation has been applied here.
00:34:20I drag it and move it a little forward here.
00:34:22In this way.
00:34:24Let's go back to the left arrow.
00:34:26And here I will set its old pose.
00:34:30For that, I have to go to pose mode.
00:34:32I have to press Alt-R.
00:34:34I have to press Alt-G.
00:34:36So that it stays in its position.
00:34:38And it should be selected from A button.
00:34:40And I have to press the I button.
00:34:42And my keyframe will come here.
00:34:44Here you can see that I am pressing the I button.
00:34:46So my location rotation window
00:34:48does not come here.
00:34:50In the case of Mixamo, this window always goes.
00:34:52For this, you simply have to go to animation.
00:34:54And click on change keying set.
00:34:56If you click on active keying set.
00:34:58So now that window will come
00:35:00on pressing your I button.
00:35:02So whatever location rotation
00:35:04or whatever you want to save, you can do it this way.
00:35:06You simply press Shift-D button.
00:35:08And bring it here in this way.
00:35:10Now I will play it.
00:35:12You will see how my
00:35:14gun will be removed in this way.
00:35:16Let's come to our next task.
00:35:18Where we have to remove this gun here.
00:35:20So if we see from the front,
00:35:22we can't see the gun properly.
00:35:24So for this, we will go to object mode.
00:35:26And from here, we will put the gun aside.
00:35:28And this walkie-talkie here.
00:35:30I will delete it from here.
00:35:32So to delete it,
00:35:34I will select a face from here.
00:35:36I will select one face.
00:35:38I will press the L button.
00:35:40So my entire object will be selected.
00:35:42I will delete it from here.
00:35:44In this way, it will be deleted from here.
00:35:46We will come back to our object mode.
00:35:48Till the time you have not used
00:35:50any animation for the gun,
00:35:52you can shift the gun anywhere.
00:35:54So for now, I will shift it
00:35:56slightly from this side.
00:35:58So that I can see
00:36:00the gun in its pocket
00:36:02in this way.
00:36:04For this, I will press R button and Z button.
00:36:06And in this way, I can rotate it like this.
00:36:08And in this way, I can move it
00:36:10a little to the side.
00:36:12So in this way, I can see the gun in its pocket.
00:36:14We have already used
00:36:16this gun.
00:36:18So it will be attached to it.
00:36:20And if we move it,
00:36:22my gun will move with it.
00:36:24Now in the same way, we have to take one more gun
00:36:26which we have to set in its hand.
00:36:28If I want to set it in my hand
00:36:30in a good way, then first of all,
00:36:32let's go to its pose mode.
00:36:34Where it has made a pose to hold the gun.
00:36:36I will shift it from here
00:36:38to D.
00:36:40So my gun will be duplicated here.
00:36:42And now we will hold that gun in its hand.
00:36:44I will press R button in this way.
00:36:46And here
00:36:48to take it in focus,
00:36:50I will take it in focus with the dot button.
00:36:52So by pressing R button,
00:36:54I will rotate it in Z direction in this way.
00:36:56In this way.
00:36:58The finger that is visible here,
00:37:00we have to put it in its point.
00:37:02So in this way, my gun pose has been made.
00:37:04If you want to make it in a better way,
00:37:06then you can make it.
00:37:08For now, I am not wasting much time here.
00:37:10Now all I have to do is
00:37:12I have made this pose.
00:37:14I just have to change the bone of this character.
00:37:16The armature is the same.
00:37:18I have to change the bone.
00:37:20As soon as I remove it,
00:37:22you will see how the gun goes here.
00:37:24If I do it on set inverse, it will come back here.
00:37:26If there is a little problem in this,
00:37:28then you first remove this bone.
00:37:30Then make this pose.
00:37:32Otherwise, it will trouble you
00:37:34in this way.
00:37:36So I have set the gun here.
00:37:38Now I just have to attach it.
00:37:40Now I have to select the bone.
00:37:42So I will connect the finger bone to this.
00:37:44To know the name,
00:37:46I will select the rig first.
00:37:48I will go to pose mode.
00:37:50I will click and see what is its name.
00:37:52Control Index 3 Right.
00:37:54Remember, only when we select the gun,
00:37:56we will get this constraint here.
00:37:58The name of the bone is CTRL
00:38:00Control Index 3 Right.
00:38:02So it has come here.
00:38:04If I select it, it will run back.
00:38:06We can bring it back here from set inverse.
00:38:08And in this way,
00:38:10my gun is completely set here.
00:38:12You can see
00:38:14how my gun is set here.
00:38:18Now we have to do exactly the same
00:38:20as we did with the sword.
00:38:22So let's do the procedure
00:38:24to make the gun disappear.
00:38:26Right now we are in pose mode.
00:38:28I will press the A button and select it.
00:38:30Then we will see this keyframe here.
00:38:32So if I play the animation
00:38:34from the start,
00:38:36this is how it will run.
00:38:38Now, first of all, I have to see
00:38:40where this gun has taken it down.
00:38:42So it is taking the gun
00:38:44from here in this way.
00:38:46I will press the A button here
00:38:48and before the up down arrow,
00:38:50the gun
00:38:52according to that,
00:38:54I will set it here.
00:38:56So my gun is the closest
00:38:58to its keyframe.
00:39:00It is this one.
00:39:02Here I simply
00:39:04have to set my hand
00:39:06on my old gun.
00:39:08So this pose of the hand
00:39:10I will move it a little bit
00:39:12with the R button in this way.
00:39:14So that when my gun comes out here,
00:39:16there is no jerk in it.
00:39:18I will press the G button
00:39:20and bring its hand
00:39:22on my gun in this way.
00:39:24So it is set here in this way.
00:39:26And the keyframe
00:39:28on which it is here,
00:39:30I will press the I button
00:39:32and save it.
00:39:34Be careful that the keyframe below
00:39:36should not be white.
00:39:38First of all, I will press the A button
00:39:40and select everyone from here.
00:39:42Now I will press the I button
00:39:44and update it from here with the location rotation.
00:39:46And while updating,
00:39:48you have to save one of its pose
00:39:50here in the pose library
00:39:52on the temporary base so that
00:39:54if by chance it is not updated,
00:39:56then you can bring it back to the same position.
00:39:58So it is very easy to save the pose.
00:40:00All you have to do is simply click on plus,
00:40:02click on add new
00:40:04and give some name here,
00:40:06gun pic.
00:40:08So here my pose is saved.
00:40:10Now let me see
00:40:12whether my pose is coming
00:40:14completely or not.
00:40:18So you can see
00:40:20that it has brought the gun
00:40:22on top of it.
00:40:24That is, my pose is saved.
00:40:26So for now, my gun
00:40:28has reached the keyframe here.
00:40:30Now let's see the process of removing the gun
00:40:32here.
00:40:34In the starting, I don't need this gun here.
00:40:36So for that, I will have to go to object mode
00:40:38to select the gun.
00:40:40The first keyframe is to make it disappear here.
00:40:42So for this, we will go to
00:40:44its object properties
00:40:46and click on visibility here.
00:40:48So we will have the option to hide it here.
00:40:50And to find out,
00:40:52I will press the M button and put a marker
00:40:54here so that I know
00:40:56that my gun is being attached
00:40:58to the gun here.
00:41:00I will remove one keyframe
00:41:02from here first.
00:41:04To do that, simply click on it here.
00:41:06Remember that your gun should be selected here.
00:41:08If anything else is selected,
00:41:10it will disappear from here.
00:41:12So I have selected the gun from here
00:41:14and I will hide it here.
00:41:16That is, my gun will be hidden
00:41:18from 0 to here.
00:41:20And I will make a keyframe on it.
00:41:22I will press the I button on it and
00:41:24I can directly click here.
00:41:26Now to move to the next keyframe,
00:41:28I will use the left arrow
00:41:30and I will make it visible here.
00:41:32For that, I will have to select the gun.
00:41:34For this, I will select it
00:41:36from the timeline here
00:41:38because it has been hidden.
00:41:40So I won't be able to select it here.
00:41:42And after that, I will tick here
00:41:44and then I will
00:41:46press the I button above and below
00:41:48them, so their color will change a little.
00:41:50So in this way, my gun
00:41:52will be removed from the next keyframe
00:41:54and it will be visible here.
00:41:56I have to do the same process
00:41:58for the other gun.
00:42:00My gun in the previous keyframe will be here.
00:42:02So for that, I will select the gun from here.
00:42:04My gun will be here till this position.
00:42:06For that, I have to simply
00:42:08generate a keyframe here.
00:42:10I have to press the I button and
00:42:12I have to press the I button here.
00:42:14With this, my keyframe has been generated.
00:42:16Now my gun is visible from 0 to here.
00:42:18Now I will go to the next keyframe
00:42:20and here I will make it disappear.
00:42:22To make it disappear, I have to click here
00:42:24and I have to press the I button above
00:42:26and again I have to press the I button below.
00:42:28If it turns a little orange,
00:42:30then understand that our keyframe
00:42:32has been saved here.
00:42:34So let's play it once and see here.
00:42:36I will make it a little bigger.
00:42:38I will bring it in the starting from the shift left arrow
00:42:40of the keyframe and I will play it
00:42:42from the space button here.
00:42:44So you will see how it will remove my gun.
00:42:46In this way, my gun
00:42:48is visible here.
00:42:50I can see how it will remove it
00:42:52and how it will keep it.
00:42:54Now from the front angle,
00:42:56we will fire a few shots from this gun.
00:42:58It is very easy to fire from a gun.
00:43:00First of all, it is in a slightly
00:43:02bent position. So if I want,
00:43:04I can also set it here.
00:43:06I have to bring it a little ahead of its
00:43:08bent position and to set it,
00:43:10I have to go to its pose mode.
00:43:12The process of bending it is mostly
00:43:14the spine here,
00:43:16so I will either
00:43:18press the G button and
00:43:20make it stand like this.
00:43:22Now I will select it here
00:43:24with the A button and
00:43:26make a new keyframe here with the I button
00:43:28so that it stands properly in its position.
00:43:30If you want to fire a gun,
00:43:32you can simply move
00:43:34the gun here.
00:43:36For this,
00:43:38first of all, I move a keyframe
00:43:40forward with a left arrow.
00:43:42I will select its hand here.
00:43:44I will slightly move it to the upper side.
00:43:46First, I will select it with the A button
00:43:48and then with the I button,
00:43:50I will save it like this.
00:43:52Now to bring my hand back
00:43:54in the same position,
00:43:56I will shift D and bring it a little forward.
00:43:58And I will slightly move
00:44:00the middle one forward.
00:44:02So you will see that it will slightly
00:44:04move the gun upwards like this.
00:44:06These are my three keyframes
00:44:08to hold my gun.
00:44:10So I simply have to select them,
00:44:12shift D,
00:44:14move it a little forward,
00:44:16shift D, move it a little forward.
00:44:18You can move it like this
00:44:20as many times as you want to fire.
00:44:22Now if I play it here
00:44:24and show you,
00:44:26it will play like this.
00:44:28It will remove the gun
00:44:30and fire like this.
00:44:32When we fire here
00:44:34and add a little spark
00:44:36to it,
00:44:38we will do it with the help of video editing
00:44:40and add sound effects to it.
00:44:42Then it will look
00:44:44completely original to us.
00:44:52If you want to put it back in its position,
00:44:54I have already told you
00:44:56about the sword thing.
00:44:58Now whatever thing I have removed,
00:45:00I want to pick it up and put it
00:45:02under it or on the ground.
00:45:04So let's see how to do it.
00:45:06For this, I will press the N button
00:45:08and first of all
00:45:10I will make a floor for the ground.
00:45:12Let's go to Sketchfab.
00:45:14Here Sketchfab is not coming,
00:45:16it means we will come back to object mode.
00:45:18And we will activate it on Sketchfab.
00:45:20And let's select floor here.
00:45:22I will take any
00:45:24ground here.
00:45:26For now, this floor
00:45:28which I used in the animation,
00:45:30I will take it.
00:45:32In this way, my floor has come here.
00:45:34If you want to make it smaller,
00:45:36make it smaller like this.
00:45:38Increase it a little and
00:45:40press S to increase it in Y direction.
00:45:42Now let's do the next animation
00:45:44that our character
00:45:46will now keep this gun on the ground.
00:45:48For this, you can also take
00:45:50animation from Mixamo.
00:45:52Or if you want to keep it on the ground,
00:45:54you can also do it directly from the keyframe.
00:45:56So let's take the next animation
00:45:58to keep the gun down.
00:46:00So again we have come to our Mixamo.
00:46:02Here I put put gun.
00:46:04So simply I will click on it here
00:46:06and see this is my first animation
00:46:08of put gun.
00:46:12So my animation is
00:46:14correct. I can use it here.
00:46:16So here
00:46:18my animation is named putting down.
00:46:20Now I import putting down here.
00:46:22Simply I have to go to
00:46:24file, click on import.
00:46:26So after importing, you can see
00:46:28my character is not visible in it.
00:46:30In reality, my character is
00:46:32visible on the lower left side.
00:46:34So this can be a problem
00:46:36with you too.
00:46:38In this condition, if I use
00:46:40animation with it, then I will face
00:46:42a lot of problems.
00:46:44First of all, the size of the rig
00:46:46should be same.
00:46:48And if you want to increase or decrease
00:46:50the size, then whatever you have
00:46:52brought here,
00:46:54you have to scale it here.
00:46:56I have to press S button here
00:46:58and in this way I will scale it here.
00:47:00When you scale it to the level
00:47:02of the character, then you can
00:47:04use its animation.
00:47:06If you use it somewhere else,
00:47:08then you will face problems.
00:47:10Now my first challenge is that if I
00:47:12use its animation here, then it will
00:47:14overwrite the whole animation.
00:47:16For this, I will use my dope sheet.
00:47:18Along with dope sheet,
00:47:20I will need one more thing, non-linear animation.
00:47:22You can see non-linear animation.
00:47:24This is my non-linear animation.
00:47:26And according to the number of characters
00:47:28it will show here.
00:47:30For now, I will push the animation of my character
00:47:32in the dope sheet.
00:47:34For that, I will need an action editor.
00:47:36And as soon as I push it,
00:47:38the animation of my character
00:47:40will come here.
00:47:42Now I can use
00:47:44the animation to put in it.
00:47:46For that, I don't have to do anything.
00:47:48The same old procedure.
00:47:50I have to go to Mixamo and
00:47:52before the dropper, I will select the armature here.
00:47:54And after that, I will select
00:47:56my character here.
00:47:58In which I have to use the animation.
00:48:00And click on Apply Animation.
00:48:02As soon as I click here,
00:48:04the animation will be applied here.
00:48:06And now you will see
00:48:08how it will
00:48:10keep the gun down.
00:48:12I don't need the old character.
00:48:14I will delete the old armature from here.
00:48:16Now the first thing to do is
00:48:18the second animation that I have applied here,
00:48:20you can see it in the dope sheet,
00:48:22in the action editor.
00:48:24I will bring it in non-linear animation
00:48:26from Push Down.
00:48:28It is a very long animation.
00:48:30I have already told you that
00:48:32you have to keep it in the same line.
00:48:34All our pose modes, you have to keep
00:48:36the animation in the same line.
00:48:38If they are different, then your animation will always be wrong.
00:48:40I will move the keyframe a little forward here.
00:48:42Like this.
00:48:44I will set the keyframe from the control end to here.
00:48:46Now I don't have to do anything.
00:48:48Simply now my next task is left in this.
00:48:50That my gun here,
00:48:52I have to get rid of it.
00:48:54So simply I will check here.
00:48:56He took out the gun.
00:48:58The character
00:49:00is firing and keeping the gun
00:49:02down like this.
00:49:04And if you want to see its keyframe,
00:49:06then you will bring the cursor on it and press the tab button.
00:49:08Then its keyframe will come to me like this.
00:49:10So here you can see
00:49:12how it has kept the gun.
00:49:14So the first thing to do is
00:49:16from the up down arrow,
00:49:18where it will touch the gun
00:49:20will bring it somewhere
00:49:22and disconnect the gun
00:49:24from here.
00:49:26First of all, I press the M button
00:49:28so that I know from the marker
00:49:30where I have to disconnect it.
00:49:32Again, we will go to its constraint here.
00:49:34And first of all,
00:49:36we will make a keyframe here.
00:49:38The eye button at the top
00:49:40that you can see,
00:49:42we do the work of leaving it and holding it.
00:49:44So first of all, I will bring my cursor on this I button
00:49:46and press the I button here.
00:49:48With this, my keyframe will be saved here.
00:49:50And till now,
00:49:52all my animations,
00:49:54my character will hold this gun.
00:49:56Now, with a left arrow,
00:49:58I will go to its next keyframe.
00:50:00And here I will disconnect it.
00:50:02For that, I will just click on it.
00:50:04And you will see the gun
00:50:06will disappear from here.
00:50:08But you don't have to take any tension here.
00:50:10Simply press the I button and
00:50:12save the keyframe here.
00:50:14Now, if you go to the last one,
00:50:16the gun will be here.
00:50:18And if you come to the next one,
00:50:20the gun will disappear.
00:50:22Now, simply what you have to do is
00:50:24save its location here first.
00:50:26If you don't save the location,
00:50:28then you will have a problem.
00:50:30For this, I have to press the I button.
00:50:32And I save its location and rotation here.
00:50:34Now, I will come to the next keyframe.
00:50:36First of all, I will bring my gun back here.
00:50:38For that, I will use the 3D cursor.
00:50:40And I will go to my last keyframe
00:50:42and bring my 3D cursor on it.
00:50:44I will press the Shift S button
00:50:46and click on Cursor to Selected.
00:50:48My 3D cursor will come here.
00:50:50Now, I will go to the next keyframe again.
00:50:52And I will press the Shift S button
00:50:54and click on Selection to Cursor.
00:50:56So, my gun will come back here.
00:50:58And I will press the I button
00:51:00and save its location here.
00:51:02Now, you can see here
00:51:04that my previous gun is here.
00:51:06But this gun is coming here.
00:51:08So, here, simply you have to
00:51:10keep the gun in the condition
00:51:12where my gun is lying.
00:51:14For that, I will use the R button
00:51:16to make a pose of it on the ground.
00:51:18Like this.
00:51:20I will rotate it on the green line
00:51:22using the R and Y buttons.
00:51:24Like this.
00:51:26So, it will look like it is lying on the ground.
00:51:28Now, I will use the I button
00:51:30to save its location and rotation here.
00:51:32So, you can see that the previous gun
00:51:34is here like this.
00:51:36Now, my work is done here.
00:51:38Here, you can see that my animation
00:51:40is complete and after saving the gun,
00:51:42my character will come here like this.
00:51:44First of all, on this green line,
00:51:46bring your cursor here and
00:51:48press the Tab button so that
00:51:50my edit mode will end here.
00:51:52Now, let's play it again
00:51:54and see. I will make it bigger
00:51:56using the Shift S button.
00:51:58Now, if I want to bring it in the starting,
00:52:00I will press the Shift and Left arrow buttons.
00:52:02Now, you can see my character.
00:52:04First of all,
00:52:06it will take out the gun.
00:52:08It will re-fire it.
00:52:10After that,
00:52:12it will put the gun down like this.
00:52:16Now, you can see
00:52:18that there is a little jerk
00:52:20at this place where the animation
00:52:22is moving.
00:52:24So, if you want to correct this jerk,
00:52:26you will have to make a pose
00:52:28in the middle here.
00:52:30This pose will bring it back to this pose
00:52:32slowly.
00:52:34We will do a separate class for this.
00:52:36So, do tell us in the comments.
00:52:38Right now, our main focus is
00:52:40to pick and drop the gun.
00:52:42So, you can see in the animation
00:52:44that it took out the gun like this
00:52:46and fired it.
00:52:48Now, it will put the gun down like this.
00:53:06If you want to
00:53:08make the animation fast or slow,
00:53:10you can easily do it here.
00:53:12In the modifier,
00:53:14you will get an option here.
00:53:16Press the N button and
00:53:18you can make it fast or slow
00:53:20as you want.
00:53:22I have already told you all these things
00:53:24in detail in episode no. 36.
00:53:26Now, you can keep this gun
00:53:28anywhere.
00:53:30You can keep it anywhere and
00:53:32take your character anywhere.
00:53:34If you want to connect something else,
00:53:36you can do it here.
00:53:38You won't face any problem.
00:53:40Now, let's go
00:53:42to our next challenge
00:53:44in which our character
00:53:46sits on a bike.
00:53:54So, we are back to our
00:53:56Blender screen.
00:53:58Right now, I have taken the character
00:54:00that I used earlier.
00:54:02Let's run the game.
00:54:04Simply, I will press the N button
00:54:06and select a bike from the Sketchfab.
00:54:08I will activate it.
00:54:10I will search for Motorcycle.
00:54:12So, I have got this bike.
00:54:14I will select this bullet.
00:54:16I have already used this bullet in Goody animation.
00:54:18I will increase the size of this
00:54:20according to the character.
00:54:22First of all, you will see that
00:54:24it is made up of different parts
00:54:26which will be difficult for me to select.
00:54:28If I select it like this
00:54:30it will create a problem for me.
00:54:32So, first of all,
00:54:34you have to select an empty.
00:54:36You have to press the Shift A button.
00:54:38After accessing the plane,
00:54:40select an empty and
00:54:42connect it here.
00:54:44Always keep in mind
00:54:46that in the Timeliner,
00:54:48our empty has gone
00:54:50to the collection folder
00:54:52and our motorcycle is outside.
00:54:54So, in this condition,
00:54:56it will be difficult to connect them.
00:54:58So, you have to bring them out
00:55:00from the scene collection.
00:55:02Then you have to connect them here.
00:55:04Now, if I want to connect them here,
00:55:06I will simply select the whole thing
00:55:08like this.
00:55:10Keep in mind that this rig should not be selected here.
00:55:12So, by right-clicking,
00:55:14I will click on Select Hierarchy from the Outliner
00:55:16and select it here.
00:55:18I will move it forward a little
00:55:20so that I can group them together.
00:55:22I will select this whole thing here.
00:55:24Keep in mind that this empty should be
00:55:26the main object.
00:55:28If it is not the main object,
00:55:30then you have to click on it.
00:55:32By pressing Shift,
00:55:34it will become the main object.
00:55:36After becoming the main object,
00:55:38its color will become orange.
00:55:40Simply, I have to click on
00:55:42Ctrl P and Object Key Transform.
00:55:44Now, my motorcycle is connected to it.
00:55:46Now, I can take my motorcycle anywhere
00:55:48with the help of this.
00:55:50Now, I have to simply place my character
00:55:52on this.
00:55:54Now, I will move my character
00:55:56to the side.
00:55:58So, my character is standing here.
00:56:00If you want to save this pose,
00:56:02you can create a temporary pose.
00:56:04You have to go to the
00:56:06Object Data Properties.
00:56:08Here, you will find the Pose Library option.
00:56:10To create a pose,
00:56:12you have to go to the Pose Mode.
00:56:14Click on the A button
00:56:16and click on New.
00:56:18First of all, I will save
00:56:20the current pose.
00:56:22This is my default pose.
00:56:24If you want to move your hand down,
00:56:26simply move your hand a little bit
00:56:28from the G button.
00:56:30If you want to move your leg
00:56:32a little bit from the G button,
00:56:34click on the G button
00:56:36and move your leg a little bit.
00:56:38This is our second pose.
00:56:40This is the Stand Pose.
00:56:42Now, let's create the last pose
00:56:44of sitting on a motorcycle.
00:56:46If you want to create a pose of sitting on a motorcycle,
00:56:48you don't have to select the entire character.
00:56:50You just have to select
00:56:52this option at the bottom.
00:56:54You just have to select this option at the bottom.
00:56:56I will select this option
00:56:58and move it to the motorcycle.
00:57:00The best thing while creating a pose
00:57:02is that you have to keep one thing in mind.
00:57:04While creating a pose,
00:57:06we have an option of butterfly color
00:57:08where it is written X.
00:57:10So, whatever is on the X-axis,
00:57:12that is, one side on the red line,
00:57:14you want the other side to be
00:57:16automatically,
00:57:18then click on the X-axis.
00:57:20By doing this,
00:57:22if I select the leg,
00:57:24it will automatically move to the other leg.
00:57:26For example,
00:57:28if I click on the G button
00:57:30and move it to the other side,
00:57:32then the other leg will automatically
00:57:34move to the other side.
00:57:36By clicking on the G button,
00:57:38I will move it a little bit forward
00:57:40so that it can be kept on the stand.
00:57:42I think it is a little far back.
00:57:44So, I have to move it
00:57:46like this.
00:57:48So, it will come on the stand like this.
00:57:50Now, you can see that I can't see
00:57:52the controller properly.
00:57:54So, for that, I will turn on the wireframe.
00:57:56And here you can see all the controllers.
00:57:58To turn it,
00:58:00to rotate the leg,
00:58:02these small balls are to rotate the leg.
00:58:04These are to rotate the hand.
00:58:06So, for now, I will click on the G button
00:58:08to rotate the leg.
00:58:10In this way, I will move both the legs
00:58:12a little bit on both sides.
00:58:14Now, if I look at it,
00:58:16the legs will be separated like this.
00:58:18Now, I will set the hands on the handle.
00:58:20Like this.
00:58:22Now, I will click on the R button
00:58:24and Y button.
00:58:26I will rotate the hand a little bit like this.
00:58:28And I will move it a little bit
00:58:30downwards like this.
00:58:32So that it looks like it is holding the handle.
00:58:34So, in this way,
00:58:36my pose is complete.
00:58:38If you want to manage
00:58:40the hip a little bit,
00:58:42you can manage it in this way.
00:58:44For now, my main focus is to drive.
00:58:46So, for now, I will save my pose.
00:58:48I will click on
00:58:50Add New.
00:58:52And I will click on Drive.
00:58:54We will go back to our object mode.
00:58:56First of all, I will click on my default pose.
00:58:58You can see the search option on the side.
00:59:00I will click on it.
00:59:02It will come here in this way.
00:59:04So, all three of our poses are ready here.
00:59:06First of all,
00:59:08let's do the animation here.
00:59:10First of all, let me tell you that
00:59:12all our pose animations
00:59:14have to go to the pose mode.
00:59:16And in the pose mode,
00:59:18you have to save all the poses.
00:59:20If you do it in the object mode,
00:59:22then you will have a problem.
00:59:24First of all, I will press the A button
00:59:26and select the current pose
00:59:28from the A button and
00:59:30from the I button, I will set the location here.
00:59:32For the second keyframe,
00:59:34I will move it a little bit forward.
00:59:36Here, I will click on the second pose
00:59:38and I will click on it
00:59:40and it will stand here.
00:59:42You can apply this option
00:59:44by clicking on it.
00:59:46Now, the current pose has been created.
00:59:48For this, I will press the A button again
00:59:50and from the I button,
00:59:52I will save it here
00:59:54with the location rotation scale option.
00:59:56Now, next is our drive.
00:59:58So, we have to put it on the bike.
01:00:00To put it on the bike, I will select the drive option.
01:00:02And as soon as I click on
01:00:04the pose option here,
01:00:06my character will sit on the bike
01:00:08and from the I button,
01:00:10I can save it here.
01:00:12With the help of these three poses,
01:00:14you can place your character anywhere
01:00:16in the car or anywhere else.
01:00:18Now, for the next animation,
01:00:20I will come a little bit forward
01:00:22and here, I will connect my bullet
01:00:24with the character.
01:00:26I have already told you the simple way
01:00:28to connect with the character in the object mode.
01:00:30In this, I will select the empty
01:00:32of the bike here.
01:00:34As I am in the pose mode,
01:00:36so it is not getting selected.
01:00:38So, I will go to the object mode
01:00:40and from here, I will select my bike.
01:00:42You can directly click here and
01:00:44do it from the timeline.
01:00:46We have to go to the constraint
01:00:48and again, we have to use the child of constraint.
01:00:50And very easily, I have to click on it
01:00:52and select my armature.
01:00:54And I will select any bone here.
01:00:56I will select the hip bone here.
01:00:58You can take hip or spine.
01:01:00You will see that my bike
01:01:02has changed its location.
01:01:04To bring it back, I will click on set inverse
01:01:06and my bike will come back here.
01:01:08Now, as soon as I apply this constraint,
01:01:10my constraint will start working from zero.
01:01:12And here,
01:01:14first of all, you have to put a marker
01:01:16from the M button.
01:01:18Whenever you use this constraint,
01:01:20do put a marker here.
01:01:22Now, first of all, I will show you my task
01:01:24that my character is attached
01:01:26to the animation here.
01:01:28So, what is the solution of this?
01:01:30First of all, I have to disable it
01:01:32on this marker.
01:01:34So that it stays disconnected from zero
01:01:36and all the animation works here.
01:01:38So, I will select the bike constraint here.
01:01:40And to disconnect it,
01:01:42I have told you the simple way.
01:01:44You have to click on the arc button.
01:01:46You can click on this arc button
01:01:48and disable it.
01:01:50So, I will simply click on it
01:01:52and it will be disabled here.
01:01:54And I will press the I button here
01:01:56so that my keyframe is saved here.
01:01:58So, it will stay disconnected
01:02:00from zero to here.
01:02:02And I will connect a keyframe here
01:02:04by going ahead.
01:02:06So that as soon as it sits on it,
01:02:08it gets connected to it.
01:02:10I will simply click on it and press the I button again.
01:02:12So, it will get connected to it here.
01:02:14Now, I will show you from the starting zero.
01:02:16So, you will see that all the animation
01:02:18will work here. It will stand
01:02:20and sit on the bike like this.
01:02:22The procedure of sitting on the bike
01:02:24that you are seeing here,
01:02:26if you want,
01:02:28you can make a pose in the middle
01:02:30to smoothen it.
01:02:32In the coming graph editor,
01:02:34I will tell you how to smoothen
01:02:36your animation here.
01:02:38For now, I will simply show you
01:02:40how my bike sits on it.
01:02:42Now, I will select again and go to its pose mode.
01:02:44You can see that I am feeling a little jerk.
01:02:46So, I will move this keyframe
01:02:48a little closer to it
01:02:50so that it sits with it quickly.
01:02:52So, you saw how
01:02:54it is sitting with it quickly.
01:02:56Now, let's
01:02:58move the bullet forward here.
01:03:00For this, we will come back to object mode.
01:03:02So, here
01:03:04your armature will take this bullet.
01:03:06You don't have to move
01:03:08the bullet here.
01:03:10So, I will simply select the armature
01:03:12here.
01:03:14You can see that here
01:03:16I disabled it.
01:03:18So, I have to move it forward.
01:03:20So, first of all, I will save
01:03:22the location of my armature here.
01:03:24And after that,
01:03:26I will move it a little forward
01:03:28like this.
01:03:30And here I will
01:03:32save my location.
01:03:34Now, you have to take special care of one thing.
01:03:36So, whatever keyframe you are making,
01:03:38you have to keep it in mind.
01:03:40I put this marker here
01:03:42so that after this, I can
01:03:44connect it here and move it forward.
01:03:46Now, our second procedure is
01:03:48to simply remove it.
01:03:50This procedure is very simple.
01:03:52First of all, check how far you have brought the keyframe.
01:03:54Here, I have to remove it.
01:03:56To remove it,
01:03:58I have to disconnect it here.
01:04:00For this, I will go to
01:04:02pose mode.
01:04:04Wherever you want to remove the character,
01:04:06take it there. Select the bike constraint.
01:04:08And here, first of all,
01:04:10save the location of it with the I button.
01:04:12So, this band
01:04:14that is coming here, it will tell me
01:04:16that it is connected to my armature
01:04:18Now, I have to go to the next frame.
01:04:20And here, I will remove
01:04:22its eye. Press the I button.
01:04:24You have to use set inverse only
01:04:26in the first time. In the second time,
01:04:28you have to save your location.
01:04:30I have told you this thing in the previous video.
01:04:32So, if I look at this side,
01:04:34my bike is here. If I look at this side,
01:04:36my bike is here.
01:04:38So, here, simply save the location
01:04:40of the bike here.
01:04:42So, if I press the I button, my location
01:04:44will be saved here.
01:04:46Now, with the help of the 3D cursor,
01:04:48I have to bring my bike back here.
01:04:50So, simply, with the Shift S button,
01:04:52I will select the cursor.
01:04:54And I will bring the 3D cursor here.
01:04:56Again, I will press next.
01:04:58And this time, I will press the Shift S button
01:05:00and click on the selection to cursor.
01:05:02So, my bike will come back here.
01:05:04After moving the bike on the cursor,
01:05:06first of all, you have to save
01:05:08its location here on the keyframe.
01:05:10You will see that if I move the keyframe,
01:05:12my bike will not go anywhere.
01:05:14So, simply, we have to bring the character
01:05:16down from the bike and it is very simple.
01:05:18So, select the character and always
01:05:20go to its pose mode and do its animation.
01:05:22Press the A button. First of all,
01:05:24I will save its current position
01:05:26here with the I button.
01:05:28Always, you have to save
01:05:30its current location
01:05:32whenever you change its pose from here.
01:05:34After that, I will move
01:05:36its keyframe forward a little bit.
01:05:38And this time, I will select
01:05:40the default here.
01:05:42And as soon as I click on it,
01:05:44my character will come down.
01:05:46And before A, I will select it
01:05:48and with the I button,
01:05:50I will make its keyframe again.
01:05:52So, in this way, my animation is complete.
01:05:54Let me play it and show you.
01:05:56My character is standing here.
01:05:58Now, it will get up and sit on the bike.
01:06:00In this way, it will bring the bike forward
01:06:02and in this way, it will come down.
01:06:04So, in this way,
01:06:06you can make any character
01:06:08sit on the car, bike or anywhere
01:06:10with the help of this constraint.
01:06:12And now, you can take this character
01:06:14anywhere. You will not face any problem
01:06:16in this.
01:06:18Always, you have to
01:06:20make the movement of the character
01:06:22in the object mode here.
01:06:24And the animation of the pose
01:06:26that you have made in the library
01:06:28here, you have to make it
01:06:30in the object mode.
01:06:32So, in this way,
01:06:34we have seen all three examples here.
01:06:36In the starting,
01:06:38you will find it a little difficult.
01:06:40But when you practice it,
01:06:42slowly, your hand will
01:06:44sit on it in a good way.
01:06:46So, that's all for today's video.
01:06:48See you in the next video.
01:06:50Till then, good bye.
01:07:02Music
01:07:06Music
01:07:10Music